Adjustments to LocalCDN
This commit is contained in:
parent
30e36abd72
commit
3f5738fb3b
|
@ -28,7 +28,7 @@ const Address = {
|
|||
'ANY_PROTOCOL': '*://',
|
||||
'CHROME': 'chrome:',
|
||||
'CHROME_EXTENSION': 'chrome-extension:',
|
||||
'DECENTRALEYES': 'localcdn.de',
|
||||
'LOCALCDN': 'localcdn.de',
|
||||
'EXAMPLE': 'example.org',
|
||||
'HTTP': 'http:',
|
||||
'HTTPS': 'https:',
|
||||
|
|
|
@ -130,7 +130,7 @@ interceptor._handleStorageChanged = function (changes) {
|
|||
*/
|
||||
|
||||
interceptor.amountInjected = 0;
|
||||
interceptor.xhrTestDomain = Address.DECENTRALEYES;
|
||||
interceptor.xhrTestDomain = Address.LOCALCDN;
|
||||
interceptor.blockMissing = false;
|
||||
interceptor.blockGoogleFonts = true;
|
||||
|
||||
|
@ -143,7 +143,7 @@ interceptor.relatedSettings.push(Setting.BLOCK_MISSING);
|
|||
chrome.storage.sync.get(interceptor.relatedSettings, function (items) {
|
||||
|
||||
interceptor.amountInjected = items.amountInjected || 0;
|
||||
interceptor.xhrTestDomain = items.xhrTestDomain || Address.DECENTRALEYES;
|
||||
interceptor.xhrTestDomain = items.xhrTestDomain || Address.LOCALCDN;
|
||||
interceptor.blockMissing = items.blockMissing || false;
|
||||
interceptor.blockGoogleFonts = items.blockGoogleFonts || true;
|
||||
});
|
||||
|
|
|
@ -31,7 +31,7 @@ var main = {};
|
|||
main._initializeSettings = function () {
|
||||
|
||||
let settingDefaults = {
|
||||
[Setting.XHR_TEST_DOMAIN]: Address.DECENTRALEYES,
|
||||
[Setting.XHR_TEST_DOMAIN]: Address.LOCALCDN,
|
||||
[Setting.SHOW_ICON_BADGE]: true,
|
||||
[Setting.BLOCK_MISSING]: false,
|
||||
[Setting.DISABLE_PREFETCH]: true,
|
||||
|
|
Loading…
Reference in New Issue