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

Delta Between Two Patch Sets: lib/prefs.js

Issue 29827646: Issue 6783 - opt-in to anti circumvention filter list on upgrade (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Left Patch Set: Don't re-ad default easylist Created July 12, 2018, 5:13 p.m.
Right Patch Set: Change the name of the preference key Created July 17, 2018, 2:29 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | lib/subscriptionInit.js » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl_priva cy 93 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl_priva cy
94 * @type {string} 94 * @type {string}
95 */ 95 */
96 defaults.subscriptions_exceptionsurl_privacy = "https://easylist-downloads.adblo ckplus.org/exceptionrules-privacy-friendly.txt"; 96 defaults.subscriptions_exceptionsurl_privacy = "https://easylist-downloads.adblo ckplus.org/exceptionrules-privacy-friendly.txt";
97 /** 97 /**
98 * @see https://adblockplus.org/en/preferences#subscriptions_antiadblockurl 98 * @see https://adblockplus.org/en/preferences#subscriptions_antiadblockurl
99 * @type {string} 99 * @type {string}
100 */ 100 */
101 defaults.subscriptions_antiadblockurl = "https://easylist-downloads.adblockplus. org/antiadblockfilters.txt"; 101 defaults.subscriptions_antiadblockurl = "https://easylist-downloads.adblockplus. org/antiadblockfilters.txt";
102 /** 102 /**
103 * Used to ensure the Anti Circumvention subscription is opted in by default. 103 * Used to ensure the anti-circumvention subscription is opted in by default.
104 * @type {boolean} 104 * @type {boolean}
105 */ 105 */
106 defaults.subscriptions_checkedanticv = false; 106 defaults.subscriptions_addedanticv = false;
107 /** 107 /**
108 * @see https://adblockplus.org/en/preferences#documentation_link 108 * @see https://adblockplus.org/en/preferences#documentation_link
109 * @type {string} 109 * @type {string}
110 */ 110 */
111 defaults.documentation_link = "https://adblockplus.org/redirect?link=%LINK%&lang =%LANG%"; 111 defaults.documentation_link = "https://adblockplus.org/redirect?link=%LINK%&lang =%LANG%";
112 /** 112 /**
113 * @see https://adblockplus.org/en/preferences#notificationdata 113 * @see https://adblockplus.org/en/preferences#notificationdata
114 * @type {object} 114 * @type {object}
115 */ 115 */
116 defaults.notificationdata = {}; 116 defaults.notificationdata = {};
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 eventEmitter.emit(pref); 387 eventEmitter.emit(pref);
388 } 388 }
389 } 389 }
390 }); 390 });
391 } 391 }
392 392
393 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); 393 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded);
394 } 394 }
395 395
396 init(); 396 init();
LEFTRIGHT

Powered by Google App Engine
This is Rietveld