[Chrome] @grant
not none
causing page JS issues
#498
Labels
Milestone
@grant
not none
causing page JS issues
#498
The following conditions appear to cause an issue and somehow break JS code on a page:
@grant
to anything other thannone
.document
from within a userscript.Several issues were reported that GitHub repo project card drag and drop was no longer working with a userscript. No JS errors are seen.
After some investigation, I found that numerous userscripts were causing the problem. Eventually I found that this minimal userscript would break the project card drag and drop, but only in Chrome.
Changing the
@grant
tonone
, or not accessing thedocument
will not cause the aforementioned problem.This issue appears to occur only in Chrome in both TM 4.5 and TM Beta 4.6.5694. Firefox does not have this issue. I did not test other browsers or older versions of TM.
I've tried to investigate the cause, but GitHub has three minified JS files which are difficult to navigate.
The text was updated successfully, but these errors were encountered: