mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
minor code review
This commit is contained in:
parent
bad345ea23
commit
b3d210c866
@ -57,7 +57,7 @@ if ( /^image\/|^text\/plain/.test(contentType) ) {
|
||||
/******************************************************************************/
|
||||
|
||||
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
|
||||
if ( !self.vAPI || !self.vAPI.uBO ) {
|
||||
if ( !self.vAPI || self.vAPI.uBO !== true ) {
|
||||
self.vAPI = { uBO: true };
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
(function(self) {
|
||||
|
||||
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
|
||||
if ( !self.vAPI || !self.vAPI.uBO ) {
|
||||
if ( !self.vAPI || self.vAPI.uBO !== true ) {
|
||||
self.vAPI = { uBO: true };
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ if ( document instanceof HTMLDocument === false ) {
|
||||
/******************************************************************************/
|
||||
|
||||
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
|
||||
if ( !self.vAPI || !self.vAPI.uBO ) {
|
||||
if ( !self.vAPI || self.vAPI.uBO !== true ) {
|
||||
self.vAPI = { uBO: true };
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@ const {Services} = Components.utils.import(
|
||||
);
|
||||
|
||||
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
|
||||
if ( !self.vAPI || !self.vAPI.uBO ) {
|
||||
if ( !self.vAPI || self.vAPI.uBO !== true ) {
|
||||
self.vAPI = { uBO: true };
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user