AdguardTeam / AdguardTeam/Scriptlets
Improve 'trusted-suppress-native-method' — some methods cannot be suppressed
Abierto
enhancement
Priority: P4
- Lenguaje dominante
- JavaScript
- Estrellas
- 195
- Forks
- 33
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.