maximelebreton / quick-javascript-switcher

A Chrome Extension to enable / disable javascript 'on the fly'
https://chrome.google.com/webstore/detail/geddoclleiomckbhadiaipdggiiccfje
249 stars 49 forks source link

Not working in incognito mode #18

Closed leepowelldev closed 8 years ago

leepowelldev commented 8 years ago

I'm allowing the plugin access to incognito mode, however it doesn't seem to take effect even after multiple page refreshes. Works as expected in non-incognito mode.

Running on Chrome 47.0.2526.73, OS X 10.11.1

akissu commented 8 years ago

I'm experiencing the same issue. I think it might be related to setting the global JS option to "do not allow any site to run JavaScript". However in incognito, it seems to work if I set Quick JS Switcher to 'on' and reload the page in a different tab instance. I hope this helps.

maximelebreton commented 8 years ago

It's a chrome bug, and i'm still waiting for the fix: https://code.google.com/p/chromium/issues/detail?id=494501

maximelebreton commented 8 years ago

Okay i find a (hacky) way to get around the chrome issue, and it now works again in the incognito mode. https://github.com/maximelebreton/quick-javascript-switcher/blob/master/src/js/core.js#L155