LEFT | RIGHT |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 Eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 E("donate").href = link; | 60 E("donate").href = link; |
61 }); | 61 }); |
62 | 62 |
63 getDocLink("contributors", function(link) | 63 getDocLink("contributors", function(link) |
64 { | 64 { |
65 E("contributors").href = link; | 65 E("contributors").href = link; |
66 }); | 66 }); |
67 | 67 |
68 getDocLink("acceptable_ads_criteria", function(link) | 68 getDocLink("acceptable_ads_criteria", function(link) |
69 { | 69 { |
70 setLinks("acceptableAdsExplanation", link, openFilters); | 70 setLinks("acceptable-ads-explanation", link, openFilters); |
71 }); | 71 }); |
72 | 72 |
73 getDocLink("contribute", function(link) | 73 getDocLink("contribute", function(link) |
74 { | 74 { |
75 setLinks("share-headline", link); | 75 setLinks("share-headline", link); |
76 }); | 76 }); |
77 | 77 |
78 ext.backgroundPage.sendMessage({ | 78 ext.backgroundPage.sendMessage({ |
79 type: "app.get", | 79 type: "app.get", |
80 what: "issues" | 80 what: "issues" |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 { | 216 { |
217 var button = E("toggle-" + feature); | 217 var button = E("toggle-" + feature); |
218 if (isEnabled) | 218 if (isEnabled) |
219 button.classList.remove("off"); | 219 button.classList.remove("off"); |
220 else | 220 else |
221 button.classList.add("off"); | 221 button.classList.add("off"); |
222 } | 222 } |
223 | 223 |
224 document.addEventListener("DOMContentLoaded", onDOMLoaded, false); | 224 document.addEventListener("DOMContentLoaded", onDOMLoaded, false); |
225 })(); | 225 })(); |
LEFT | RIGHT |