Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'trusted-suppress-native-method' -- grouping in regex matcher does not work #473

Open
Yuki2718 opened this issue Jan 8, 2025 · 1 comment
Assignees

Comments

@Yuki2718
Copy link

Yuki2718 commented Jan 8, 2025

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

suppress-method

@Yuki2718
Copy link
Author

Yuki2718 commented Jan 8, 2025

It's a bit confusing with the syntax for multiple matchers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants