You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ##script:inject(...) directive seems to take 10-50ms to actually inject the specified script after the document starts rendering. This becomes a problem when using scripts like abort-current-inline-script.js because inline scripts placed early enough in the document can bypass it completely by executing early on. It can also lead to cases where a "blocked" script will execute on some page loads but not others.
The
##script:inject(...)
directive seems to take 10-50ms to actually inject the specified script after the document starts rendering. This becomes a problem when using scripts likeabort-current-inline-script.js
because inline scripts placed early enough in the document can bypass it completely by executing early on. It can also lead to cases where a "blocked" script will execute on some page loads but not others.For example, this rule:
Should kill this script, but if it loads too fast, it won't happen:
Is there any way to remove this delay or is this a browser issue that can't be fixed?
The text was updated successfully, but these errors were encountered: