mirror of https://github.com/gorhill/uBlock.git
This commit is contained in:
parent
0112e54834
commit
8e73fb32b5
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
|
||||
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
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -28,7 +28,12 @@
|
|||
|
||||
(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;
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*******************************************************************************
|
||||
|
||||
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
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -36,7 +36,12 @@ const {Services} = Components.utils.import(
|
|||
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;
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
|
Loading…
Reference in New Issue