| OLD | NEW |
| 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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 | 958 |
| 959 getDocLink("subscriptions", (link) => | 959 getDocLink("subscriptions", (link) => |
| 960 { | 960 { |
| 961 E("filter-lists-learn-more").setAttribute("href", link); | 961 E("filter-lists-learn-more").setAttribute("href", link); |
| 962 }); | 962 }); |
| 963 | 963 |
| 964 E("custom-filters-raw").setAttribute("placeholder", | 964 E("custom-filters-raw").setAttribute("placeholder", |
| 965 getMessage("options_customFilters_edit_placeholder", ["/ads/track/*"])); | 965 getMessage("options_customFilters_edit_placeholder", ["/ads/track/*"])); |
| 966 | 966 |
| 967 // Help tab | 967 // Help tab |
| 968 getDocLink("adblock_plus_report_issue", (link) => | |
| 969 { | |
| 970 setLinks("report-issue", link); | |
| 971 }); | |
| 972 getDocLink("adblock_plus_report_ad", (link) => | |
| 973 { | |
| 974 setLinks("report-ad", link); | |
| 975 }); | |
| 976 getDocLink("adblock_plus_report_bug", (link) => | 968 getDocLink("adblock_plus_report_bug", (link) => |
| 977 { | 969 { |
| 978 setLinks("report-bug", link); | 970 setLinks("report-bug", link); |
| 979 }); | 971 }); |
| 980 getDocLink("{browser}_support", url => | 972 getDocLink("{browser}_support", url => |
| 981 { | 973 { |
| 982 setLinks("visit-forum", url); | 974 setLinks("visit-forum", url); |
| 983 }); | 975 }); |
| 976 getDocLink("adblock_plus_report_issue", (link) => |
| 977 { |
| 978 setLinks("report-issue", "mailto:support@adblockplus.org"); |
| 979 }); |
| 984 getDocLink("social_twitter", (link) => | 980 getDocLink("social_twitter", (link) => |
| 985 { | 981 { |
| 986 E("twitter").setAttribute("href", link); | 982 E("twitter").setAttribute("href", link); |
| 987 }); | 983 }); |
| 988 getDocLink("social_facebook", (link) => | 984 getDocLink("social_facebook", (link) => |
| 989 { | 985 { |
| 990 E("facebook").setAttribute("href", link); | 986 E("facebook").setAttribute("href", link); |
| 991 }); | 987 }); |
| 992 getDocLink("social_gplus", (link) => | 988 getDocLink("social_gplus", (link) => |
| 993 { | 989 { |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1458 }); | 1454 }); |
| 1459 browser.runtime.sendMessage({ | 1455 browser.runtime.sendMessage({ |
| 1460 type: "subscriptions.listen", | 1456 type: "subscriptions.listen", |
| 1461 filter: ["added", "disabled", "homepage", "lastDownload", "removed", | 1457 filter: ["added", "disabled", "homepage", "lastDownload", "removed", |
| 1462 "title", "downloadStatus", "downloading"] | 1458 "title", "downloadStatus", "downloading"] |
| 1463 }); | 1459 }); |
| 1464 | 1460 |
| 1465 window.addEventListener("DOMContentLoaded", onDOMLoaded, false); | 1461 window.addEventListener("DOMContentLoaded", onDOMLoaded, false); |
| 1466 window.addEventListener("hashchange", onHashChange, false); | 1462 window.addEventListener("hashchange", onHashChange, false); |
| 1467 } | 1463 } |
| OLD | NEW |