Open piquark6046 opened 7 months ago
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/')
https://github.com/gorhill/uBlock/wiki/Resources-Library#abort-on-stack-tracejs-