Scriptlets icon indicating copy to clipboard operation
Scriptlets copied to clipboard

Support searching stack with regexp in abort-on-stack-trace scriptlet

Open piquark6046 opened this issue 2 years ago • 1 comments

https://github.com/gorhill/uBlock/wiki/Resources-Library#abort-on-stack-tracejs-

piquark6046 avatar Dec 23 '23 03:12 piquark6046

If I understand correctly the problem, it's already supported. For example, it's used in these rules:

apkmirror.com#%#//scriptlet('abort-on-stack-trace', 'document.querySelectorAll', '/Object\.visibleEl[\s\S]*?onload|Object\.vE/')
sotwe.com#%#//scriptlet('abort-on-stack-trace', 'String.fromCharCode', '/Array\.map[\s\S]*?\[Symbol\.replace\][\s\S]*?String\.replace/')

AdamWr avatar Jan 09 '24 12:01 AdamWr