Scriptlets
Scriptlets copied to clipboard
Fix 'trusted-suppress-native-method' — grouping in regex matcher does not work
japscan.lol#%#//scriptlet('trusted-suppress-native-method', 'Document.prototype.querySelectorAll', '/(#navpromo|#OhNo)/', 'abort')
=>
Could not parse the signature matcher: '/(#navpromo' value type can't be inferred: SyntaxError: Unexpected token '/', "/(#navpromo" is not valid JSON
Screenshot
It's a bit confusing with the syntax for multiple matchers.