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-present eyeo GmbH | 3 * Copyright (C) 2006-present 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 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 | 966 |
967 // Help tab | 967 // Help tab |
968 getDocLink("adblock_plus_report_bug", (link) => | 968 getDocLink("adblock_plus_report_bug", (link) => |
969 { | 969 { |
970 setLinks("report-bug", link); | 970 setLinks("report-bug", link); |
971 }); | 971 }); |
972 getDocLink("{browser}_support", url => | 972 getDocLink("{browser}_support", url => |
973 { | 973 { |
974 setLinks("visit-forum", url); | 974 setLinks("visit-forum", url); |
975 }); | 975 }); |
976 getDocLink("adblock_plus_report_issue", (link) => | |
977 { | |
978 setLinks("report-issue", "mailto:support@adblockplus.org"); | |
979 }); | |
980 getDocLink("social_twitter", (link) => | 976 getDocLink("social_twitter", (link) => |
981 { | 977 { |
982 E("twitter").setAttribute("href", link); | 978 E("twitter").setAttribute("href", link); |
983 }); | 979 }); |
984 getDocLink("social_facebook", (link) => | 980 getDocLink("social_facebook", (link) => |
985 { | 981 { |
986 E("facebook").setAttribute("href", link); | 982 E("facebook").setAttribute("href", link); |
987 }); | 983 }); |
988 getDocLink("social_gplus", (link) => | 984 getDocLink("social_gplus", (link) => |
989 { | 985 { |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1463 }); | 1459 }); |
1464 browser.runtime.sendMessage({ | 1460 browser.runtime.sendMessage({ |
1465 type: "subscriptions.listen", | 1461 type: "subscriptions.listen", |
1466 filter: ["added", "disabled", "homepage", "lastDownload", "removed", | 1462 filter: ["added", "disabled", "homepage", "lastDownload", "removed", |
1467 "title", "downloadStatus", "downloading"] | 1463 "title", "downloadStatus", "downloading"] |
1468 }); | 1464 }); |
1469 | 1465 |
1470 window.addEventListener("DOMContentLoaded", onDOMLoaded, false); | 1466 window.addEventListener("DOMContentLoaded", onDOMLoaded, false); |
1471 window.addEventListener("hashchange", onHashChange, false); | 1467 window.addEventListener("hashchange", onHashChange, false); |
1472 } | 1468 } |
LEFT | RIGHT |