diff options
author | gorhill <rhill@raymondhill.net> | 2015-01-18 22:26:07 -0500 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-01-18 22:26:07 -0500 |
commit | 5ee417e1103c02e7c695a2532cfe63951baec53b (patch) | |
tree | c2842bcc9382d6a05120956ce84a88b74643102d /src | |
parent | 9593dc30ddd8e273c5ae4f1ac5f3c3180848d4ae (diff) | |
download | uBlock-5ee417e1103c02e7c695a2532cfe63951baec53b.zip uBlock-5ee417e1103c02e7c695a2532cfe63951baec53b.tar.gz uBlock-5ee417e1103c02e7c695a2532cfe63951baec53b.tar.bz2 |
new revision
Diffstat (limited to 'src')
-rw-r--r-- | src/js/storage.js | 2 | ||||
-rw-r--r-- | src/js/traffic.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/js/storage.js b/src/js/storage.js index aec5a98..ac87a64 100644 --- a/src/js/storage.js +++ b/src/js/storage.js @@ -662,7 +662,7 @@ // https://github.com/gorhill/uBlock/issues/540 // Disabling local mirroring for the time being userSettings.experimentalEnabled = false; - µb.mirrors.toggle(userSettings.experimentalEnabled); + µb.mirrors.toggle(false /* userSettings.experimentalEnabled */); µb.contextMenu.toggle(userSettings.contextMenuEnabled); µb.dynamicNetFilteringEngine.fromString(userSettings.dynamicFilteringString); diff --git a/src/js/traffic.js b/src/js/traffic.js index ed6e399..86d8cc4 100644 --- a/src/js/traffic.js +++ b/src/js/traffic.js @@ -255,7 +255,7 @@ var onHeadersReceived = function(details) { // https://github.com/gorhill/uBlock/issues/540 // Disabling local mirroring for the time being //if ( details.parentFrameId === -1 ) { - // pageStore.skipLocalMirroring = headerStartWith(details.responseHeaders, 'content-security-policy') !== ''; + // pageStore.skipLocalMirroring = headerStartsWith(details.responseHeaders, 'content-security-policy') !== ''; //} var requestURL = details.url; @@ -324,7 +324,7 @@ var headerValue = function(headers, name) { /******************************************************************************/ -var headerStartWith = function(headers, prefix) { +var headerStartsWith = function(headers, prefix) { var prefixLen = prefix.length; var i = headers.length; while ( i-- ) { |