Improve 'prevent-xhr' — add missed events #414
Labels
enhancement
Improvement of existent feature
Priority: P4
Release: v2.0.1
Resolution: Fixed
Status: Closed
Version: Scriptlets v2.0
Related to AdguardTeam/AdguardFilters#175034 and AdguardTeam/AdguardFilters#174876
These websites use
onreadystatechange
to check if 4events
were fired and#%#//scriptlet('prevent-xhr', 'pagead2.googlesyndication.com')
doesn't work because currently only 2events
are invoked.Steps to reproduce:
https://example.org/
Probably changing this part:
Scriptlets/src/scriptlets/prevent-xhr.js
Lines 184 to 223 in 804c535
to something like:
Code:
should fixes it.
The text was updated successfully, but these errors were encountered: