Index: popupBlocker.js |
=================================================================== |
--- a/popupBlocker.js |
+++ b/popupBlocker.js |
@@ -15,7 +15,7 @@ |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
-if ("webNavigation" in chrome) |
+if (window.chrome && chrome.webNavigation) |
{ |
var tabsLoading = {}; |