Adjustments to LocalCDN

This commit is contained in:
nobody 2020-07-04 07:38:59 +02:00
parent 30e36abd72
commit 3f5738fb3b
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
3 changed files with 4 additions and 4 deletions

View File

@ -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:',

View File

@ -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;
});

View File

@ -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,