diff --git a/src/js/contentscript.js b/src/js/contentscript.js index 74485258b..bbbe37fb1 100644 --- a/src/js/contentscript.js +++ b/src/js/contentscript.js @@ -81,7 +81,7 @@ // https://github.com/chrisaljoudi/uBlock/issues/456 // https://github.com/gorhill/uBlock/issues/2029 -if ( self.vAPI !== undefined ) { // >>>>>>>> start of HUGE-IF-BLOCK +if ( typeof vAPI !== undefined ) { // >>>>>>>> start of HUGE-IF-BLOCK /******************************************************************************/ /******************************************************************************/