1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00
gorhill 2017-04-01 09:41:08 -04:00
parent d7c8588c16
commit 0112e54834
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 18 additions and 8 deletions

View File

@ -1,7 +1,7 @@
/******************************************************************************* /*******************************************************************************
uBlock Origin - a browser extension to block requests. uBlock Origin - a browser extension to block requests.
Copyright (C) 2014-2016 The uBlock Origin authors Copyright (C) 2014-2017 The uBlock Origin authors
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -27,7 +27,7 @@
/******************************************************************************/ /******************************************************************************/
(function(self) { (function() {
/******************************************************************************/ /******************************************************************************/
/******************************************************************************/ /******************************************************************************/
@ -56,7 +56,12 @@ if ( /^image\/|^text\/plain/.test(contentType) ) {
/******************************************************************************/ /******************************************************************************/
var vAPI = self.vAPI = self.vAPI || {}; // https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
if ( !self.vAPI || !self.vAPI.uBO ) {
self.vAPI = { uBO: true };
}
var vAPI = self.vAPI;
var chrome = self.chrome; var chrome = self.chrome;
// https://github.com/chrisaljoudi/uBlock/issues/456 // https://github.com/chrisaljoudi/uBlock/issues/456
@ -520,6 +525,6 @@ vAPI.executionCost.stop('vapi-client.js');
/******************************************************************************/ /******************************************************************************/
/******************************************************************************/ /******************************************************************************/
})(this); })();
/******************************************************************************/ /******************************************************************************/

View File

@ -1,7 +1,7 @@
/******************************************************************************* /*******************************************************************************
uBlock Origin - a browser extension to block requests. uBlock Origin - a browser extension to block requests.
Copyright (C) 2014-2016 The uBlock Origin authors Copyright (C) 2014-2017 The uBlock Origin authors
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -29,7 +29,7 @@
/******************************************************************************/ /******************************************************************************/
(function(self) { (function() {
// https://github.com/chrisaljoudi/uBlock/issues/464 // https://github.com/chrisaljoudi/uBlock/issues/464
if ( document instanceof HTMLDocument === false ) { if ( document instanceof HTMLDocument === false ) {
@ -45,7 +45,12 @@ if ( document instanceof HTMLDocument === false ) {
/******************************************************************************/ /******************************************************************************/
var vAPI = self.vAPI = self.vAPI || {}; // https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
if ( !self.vAPI || !self.vAPI.uBO ) {
self.vAPI = { uBO: true };
}
var vAPI = self.vAPI;
/******************************************************************************/ /******************************************************************************/
@ -537,6 +542,6 @@ vAPI.executionCost.stop('vapi-client.js');
/******************************************************************************/ /******************************************************************************/
})(this); })();
/******************************************************************************/ /******************************************************************************/