From 5ee417e1103c02e7c695a2532cfe63951baec53b Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 18 Jan 2015 22:26:07 -0500 Subject: [PATCH] new revision --- platform/chromium/manifest.json | 2 +- platform/firefox/vapi-background.js | 2 +- platform/safari/Update.plist | 2 +- src/js/storage.js | 2 +- src/js/traffic.js | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index e8b1eb112..2e7e33c19 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "µBlock", - "version": "0.8.5.6", + "version": "0.8.5.7", "default_locale": "en", "description": "__MSG_extShortDesc__", diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index d257f26dc..5d9b30bb0 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -45,7 +45,7 @@ vAPI.firefox = true; // TODO: read these data from somewhere... vAPI.app = { name: 'µBlock', - version: '0.8.5.6' + version: '0.8.5.7' }; /******************************************************************************/ diff --git a/platform/safari/Update.plist b/platform/safari/Update.plist index e9a130f3d..f5574ae33 100644 --- a/platform/safari/Update.plist +++ b/platform/safari/Update.plist @@ -14,7 +14,7 @@ CFBundleVersion {buildNumber} URL - https://chrismatic.io/ublock/ublock-0.8.5.6.safariextz + https://chrismatic.io/ublock/ublock-0.8.5.7.safariextz diff --git a/src/js/storage.js b/src/js/storage.js index aec5a98f5..ac87a64e3 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 ed6e3995e..86d8cc45c 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-- ) {