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
After aagag.com#%#//scriptlet('prevent-xhr', 'pagead2.googlesyndication.com/pagead/js/adsbygoogle.js') in AdGuard Browser Extension on Firefox, an Uncaught TypeError: can't access property "length", thisArg.collectedHeaders is undefined error is raised.
I think that this issue has to be prioritized to a upper class because this issue causes breakages if prevent-xhr scriptlet is applied in a webpage.
Confirmed a website having this issue:
It should be already fixed in scriptlets library version 1.9.62.
The latest scriptlets library (1.9.62) is already in AdGuard AdBlocker extension 4.2.151 and as far as I can see, it works correctly on these websites.
After
aagag.com#%#//scriptlet('prevent-xhr', 'pagead2.googlesyndication.com/pagead/js/adsbygoogle.js')
in AdGuard Browser Extension on Firefox, anUncaught TypeError: can't access property "length", thisArg.collectedHeaders is undefined
error is raised.Scriptlets/src/scriptlets/prevent-xhr.js
Lines 248 to 262 in 5c1ccff
Instead of simply using logical not operator (
!
), please usetypeof
operator to test before it.Environment
The text was updated successfully, but these errors were encountered: