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

Improve 'trusted-suppress-native-method' -- some methods can't be suppressed #470

Open
Yuki2718 opened this issue Dec 17, 2024 · 0 comments
Assignees

Comments

@Yuki2718
Copy link

I tried to suppress Math.floor with

exploader.net#%#//scriptlet('trusted-suppress-native-method', 'Math.floor', '/([12]\d\.\d+|\d\.\d+)/', 'prevent')

but it fails. This is more of a question, but is it possible to suppress methods without argument such as Math.random and Element.prototype.getBoundingClientRect? "" as the argment doesn't work.

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