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

Unified Diff: background.js

Issue 29712664: Issue 6432 - Hide remove button for additional filter lists (Closed)
Patch Set: Created March 1, 2018, 9:43 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | js/desktop-options.js » ('j') | js/desktop-options.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -68,6 +68,7 @@
}
let params = {
+ additionalSubscriptions: false,
Thomas Greiner 2018/03/02 11:33:35 Detail: Please also mention this new parameter in
Thomas Greiner 2018/03/02 11:33:35 Why not implement this the same way as "blockedURL
saroyanm 2018/03/02 13:50:29 Done.
saroyanm 2018/03/02 13:50:29 Done.
blockedURLs: "",
filterlistsReinitialized: false,
addSubscription: false,
@@ -108,6 +109,7 @@
shouldShowBlockElementMenu: true,
show_devtools_panel: true,
ui_warn_tracking: true,
+ additional_subscriptions: (params.additionalSubscriptions) ? ["https://easylist-downloads.adblockplus.org/easylistgermany+easylist.txt"] : [],
kzar 2018/03/02 09:57:01 Nit: The paranthesis around params.additionalSubsc
Thomas Greiner 2018/03/02 11:33:35 Sounds like a personal preference which I usually
saroyanm 2018/03/02 13:50:29 Done.
kzar 2018/03/05 13:23:21 Thanks
subscriptions_exceptionsurl: "https://easylist-downloads.adblockplus.org/exceptionrules.txt",
subscriptions_exceptionsurl_privacy: "https://easylist-downloads.adblockplus.org/exceptionrules-privacy-friendly.txt"
};
« no previous file with comments | « no previous file | js/desktop-options.js » ('j') | js/desktop-options.js » ('J')

Powered by Google App Engine
This is Rietveld