From a1350b8cff0a1cc3523a43ca6627dfaead727abd Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 17 Aug 2017 09:54:01 -0400 Subject: [PATCH] fix #2882 --- src/js/contentscript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 /******************************************************************************/ /******************************************************************************/