Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: desktop-options.js

Issue 29616555: Issue 6082 - Update suport section in the help tab (Closed)
Patch Set: Created Nov. 23, 2017, 11:43 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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
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) =>
977 {
978 setLinks("report-bug", link);
979 });
980 getDocLink("{browser}_support", url => 968 getDocLink("{browser}_support", url =>
981 { 969 {
982 setLinks("visit-forum", url); 970 setLinks("visit-forum", url);
983 }); 971 });
984 getDocLink("social_twitter", (link) => 972 getDocLink("social_twitter", (link) =>
985 { 973 {
986 E("twitter").setAttribute("href", link); 974 E("twitter").setAttribute("href", link);
987 }); 975 });
988 getDocLink("social_facebook", (link) => 976 getDocLink("social_facebook", (link) =>
989 { 977 {
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 }); 1446 });
1459 browser.runtime.sendMessage({ 1447 browser.runtime.sendMessage({
1460 type: "subscriptions.listen", 1448 type: "subscriptions.listen",
1461 filter: ["added", "disabled", "homepage", "lastDownload", "removed", 1449 filter: ["added", "disabled", "homepage", "lastDownload", "removed",
1462 "title", "downloadStatus", "downloading"] 1450 "title", "downloadStatus", "downloading"]
1463 }); 1451 });
1464 1452
1465 window.addEventListener("DOMContentLoaded", onDOMLoaded, false); 1453 window.addEventListener("DOMContentLoaded", onDOMLoaded, false);
1466 window.addEventListener("hashchange", onHashChange, false); 1454 window.addEventListener("hashchange", onHashChange, false);
1467 } 1455 }
OLDNEW

Powered by Google App Engine
This is Rietveld