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

Side by Side Diff: lib/prefs.js

Issue 29565838: Issue 5803 - Integrate new options page into adblockpluschrome (Closed)
Patch Set: Created Oct. 5, 2017, 9:38 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | metadata.gecko-webext » ('j') | metadata.gecko-webext » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 * @see https://adblockplus.org/en/preferences#subscriptions_autoupdate 83 * @see https://adblockplus.org/en/preferences#subscriptions_autoupdate
84 * @type {boolean} 84 * @type {boolean}
85 */ 85 */
86 defaults.subscriptions_autoupdate = true; 86 defaults.subscriptions_autoupdate = true;
87 /** 87 /**
88 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl 88 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl
89 * @type {string} 89 * @type {string}
90 */ 90 */
91 defaults.subscriptions_exceptionsurl = "https://easylist-downloads.adblockplus.o rg/exceptionrules.txt"; 91 defaults.subscriptions_exceptionsurl = "https://easylist-downloads.adblockplus.o rg/exceptionrules.txt";
92 /** 92 /**
93 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl_priva cy
saroyanm 2017/10/05 21:58:13 I'll create separate review to update websites.
saroyanm 2017/10/06 16:58:28 See -> https://codereview.adblockplus.org/29565858
94 * @type {string}
95 */
96 defaults.subscriptions_exceptionsurl_privacy = "https://easylist-downloads.adblo ckplus.org/exceptionrules-privacy-friendly.txt";
97 /**
93 * @see https://adblockplus.org/en/preferences#subscriptions_antiadblockurl 98 * @see https://adblockplus.org/en/preferences#subscriptions_antiadblockurl
94 * @type {string} 99 * @type {string}
95 */ 100 */
96 defaults.subscriptions_antiadblockurl = "https://easylist-downloads.adblockplus. org/antiadblockfilters.txt"; 101 defaults.subscriptions_antiadblockurl = "https://easylist-downloads.adblockplus. org/antiadblockfilters.txt";
97 /** 102 /**
98 * @see https://adblockplus.org/en/preferences#documentation_link 103 * @see https://adblockplus.org/en/preferences#documentation_link
99 * @type {string} 104 * @type {string}
100 */ 105 */
101 defaults.documentation_link = "https://adblockplus.org/redirect?link=%LINK%&lang =%LANG%"; 106 defaults.documentation_link = "https://adblockplus.org/redirect?link=%LINK%&lang =%LANG%";
102 /** 107 /**
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 eventEmitter.emit(pref); 364 eventEmitter.emit(pref);
360 } 365 }
361 } 366 }
362 }); 367 });
363 } 368 }
364 369
365 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); 370 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded);
366 } 371 }
367 372
368 init(); 373 init();
OLDNEW
« no previous file with comments | « no previous file | metadata.gecko-webext » ('j') | metadata.gecko-webext » ('J')

Powered by Google App Engine
This is Rietveld