mirror of https://github.com/gorhill/uBlock.git
new revision
This commit is contained in:
parent
9593dc30dd
commit
5ee417e110
|
@ -2,7 +2,7 @@
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
|
|
||||||
"name": "µBlock",
|
"name": "µBlock",
|
||||||
"version": "0.8.5.6",
|
"version": "0.8.5.7",
|
||||||
|
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"description": "__MSG_extShortDesc__",
|
"description": "__MSG_extShortDesc__",
|
||||||
|
|
|
@ -45,7 +45,7 @@ vAPI.firefox = true;
|
||||||
// TODO: read these data from somewhere...
|
// TODO: read these data from somewhere...
|
||||||
vAPI.app = {
|
vAPI.app = {
|
||||||
name: 'µBlock',
|
name: 'µBlock',
|
||||||
version: '0.8.5.6'
|
version: '0.8.5.7'
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>{buildNumber}</string>
|
<string>{buildNumber}</string>
|
||||||
<key>URL</key>
|
<key>URL</key>
|
||||||
<string>https://chrismatic.io/ublock/ublock-0.8.5.6.safariextz</string>
|
<string>https://chrismatic.io/ublock/ublock-0.8.5.7.safariextz</string>
|
||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
|
|
|
@ -662,7 +662,7 @@
|
||||||
// https://github.com/gorhill/uBlock/issues/540
|
// https://github.com/gorhill/uBlock/issues/540
|
||||||
// Disabling local mirroring for the time being
|
// Disabling local mirroring for the time being
|
||||||
userSettings.experimentalEnabled = false;
|
userSettings.experimentalEnabled = false;
|
||||||
µb.mirrors.toggle(userSettings.experimentalEnabled);
|
µb.mirrors.toggle(false /* userSettings.experimentalEnabled */);
|
||||||
|
|
||||||
µb.contextMenu.toggle(userSettings.contextMenuEnabled);
|
µb.contextMenu.toggle(userSettings.contextMenuEnabled);
|
||||||
µb.dynamicNetFilteringEngine.fromString(userSettings.dynamicFilteringString);
|
µb.dynamicNetFilteringEngine.fromString(userSettings.dynamicFilteringString);
|
||||||
|
|
|
@ -255,7 +255,7 @@ var onHeadersReceived = function(details) {
|
||||||
// https://github.com/gorhill/uBlock/issues/540
|
// https://github.com/gorhill/uBlock/issues/540
|
||||||
// Disabling local mirroring for the time being
|
// Disabling local mirroring for the time being
|
||||||
//if ( details.parentFrameId === -1 ) {
|
//if ( details.parentFrameId === -1 ) {
|
||||||
// pageStore.skipLocalMirroring = headerStartWith(details.responseHeaders, 'content-security-policy') !== '';
|
// pageStore.skipLocalMirroring = headerStartsWith(details.responseHeaders, 'content-security-policy') !== '';
|
||||||
//}
|
//}
|
||||||
|
|
||||||
var requestURL = details.url;
|
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 prefixLen = prefix.length;
|
||||||
var i = headers.length;
|
var i = headers.length;
|
||||||
while ( i-- ) {
|
while ( i-- ) {
|
||||||
|
|
Loading…
Reference in New Issue