forked from Erkan-Yilmaz/ToS-DR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-suffix.html
101 lines (91 loc) · 5.23 KB
/
index-suffix.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
</section>
</div> <!-- /container -->
<footer id="bottom">
<div class="container">
<nav id="sitemap">
<ul class="row">
<li class="span3"><a href="index.html">Home</a>
<ul>
<li><a href="index.html#services">Rated Services</a></li>
<li><a href="topics.html#topics">Rated Topics</a></li>
</ul>
</li>
<li class="span3"><a href="about.html">About</a>
<ul>
<li><a href="about.html#contact">Contact us</a></li>
<li><a href="about.html#classification">Classification</a></li>
<li><a href="legal.html">Legal</a></li>
<li><a href="blog/index.html">Blog</a></li>
</ul>
</li>
<li class="span3"><a href="contribute.html">Contribute</a>
<ul>
<li><a href="contribute.html#join">Join us</a></li>
<li><a href="get-involved.html">Get involved</a></li>
<li><a href="api.html">API</a></li>
</ul>
</li>
<li class="span3">Spread
<ul>
<li><a href="http://twitter.com/tosdr">Follow us on twitter</a></li>
<li><a href="http://flattr.com/thing/821090/ToSDR">Donate on Flattr</a></li>
<li><a href="http://github.com/didnotread/">Fork us on GitHub</a></li>
</ul>
</li>
</ul>
</nav>
<p id="credits"><strong><a href="http://tos-dr.info">Terms of Service; Didn't Read</a></strong> is a project inspired by Aza Raskin's <a href="http://azarask.in/blog/post/privacy-icons/">Privacy Icons</a> and EFF's <a href="http://github.com/pde/tosback2">TOSBack</a>. Also related: <a href="http://www.opennotice.org/">OpenNotice</a>.</p>
<p id="legalinfo"><strong>Nothing here should be considered legal advice</strong>. We express our opinion with no guarantee and we do not endorse any service in any way. Please refer to a qualified attorney for legal advice. <strong>Reading ToS;DR is in no way a replacement for reading the full terms to which you are bound.</strong> Disclosure: a list of donors and supporters <a href="thanks.html">is published</a>. <a href="legal.html">All legal information and Imprint</a>.</p>
<p id="licensing"><a href="http://tos-dr.info">ToS;DR</a> is Free Software, licensed under the GNU Affero General Public License (<a href="http://www.gnu.org/licenses/agpl-3.0-standalone.html" rel="license">AGPL-3.0</a>). Offer for <a href="https://github.com/didnotread/didnotread.org/zipball/master">Source (zip)</a>. The <code>.json</code> data inside the <a href="https://github.com/didnotread/didnotread.org/tree/master/services"><code>services/</code></a> and <a href="https://github.com/didnotread/didnotread.org/tree/master/points"><code>points/</code></a> directories are also licensed under the Attribution - Share Alike (<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a>). Icons by <a href="http://glyphicons.com/glyphicons-licenses/">Glyphicons</a> used under a CC BY <a href="http://creativecommons.org/licenses/by/3.0/deed.en">3.0 Unported license</a>. Thumbs Up and Thumbs Down icons modified by Jan.</p>
<p id="technical" class="center"><span style="color:#999">Un</span>hosted by <a href="https://5apps.com/apps/4fd06274c439346fd700005e"><img src="img/unhostedby5apps.png" alt="5apps" /></a>
</div>
</footer>
<!-- <script src="bootstrap/js/bootstrap-twipsy.js"></script>-->
<script src="bootstrap/js/bootstrap-collapse.js"></script>
<script src="bootstrap/js/bootstrap-modal.js"></script>
<script src="bootstrap/js/bootstrap-transition.js"></script>
<!-- <script src="bootstrap/js/bootstrap-typeahead.js"></script>-->
<script src="bootstrap/js/bootstrap-alert.js"></script>
<script>
// $(window).load(function(){
// if(location.hash.length>1 && $('#'+location.hash.substring(1)+'-tosdr')) {
// $('#'+location.hash.substring(1)+'-tosdr').modal();
// }
// });
document.getElementById('searchBox').onkeyup = function() {
var serviceDivs = document.getElementsByClassName('service-nutshell');
var searchTerm = document.getElementById('searchBox').value.toLowerCase();
var tophit;
for(var i=0; i<serviceDivs.length; i++) {
var terms = [];
for(var j=0; j<serviceDivs[i].attributes.length; j++) {
if(serviceDivs[i].attributes[j].name=='data-search') {
terms = serviceDivs[i].attributes[j].value.split(',');
break;
}
}
var match = false;
for(var j=0; j<terms.length; j++ ) {
if(terms[j].substring(0, searchTerm.length) == searchTerm) {
match=true;
break;
}
}
if(match) {
serviceDivs[i].style.display='block';
if(serviceDivs[i].id.substring(0, searchTerm.length)==searchTerm) {
tophit=i;
}
} else {
serviceDivs[i].style.display='none';
}
}
//if(typeof(tophit) != 'undefined') {
// var elt = document.getElementById('services-list').removeChild(serviceDivs[tophit]);
// document.getElementById('services-list').insertBefore(elt, serviceDivs[0]);//
//}
};
document.getElementById('searchDiv').style.display="block";
</script>
</body>
</html>