gorhill 2017-04-01 10:00:09 -04:00
parent 0112e54834
commit 8e73fb32b5
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 14 additions and 4 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
@ -28,7 +28,12 @@
(function() { (function() {
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;
/******************************************************************************/ /******************************************************************************/

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
@ -36,7 +36,12 @@ const {Services} = Components.utils.import(
null null
); );
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;
/******************************************************************************/ /******************************************************************************/