AdguardTeam / AdguardTeam/Scriptlets

Improve 'trusted-suppress-native-method' — some methods cannot be suppressed

オープン
#470 コメント 6 件 リアクション 0 件 担当者 1 名 @maximtop が担当を希望しています GitHub で見る
enhancement Priority: P4
主要言語
JavaScript
スター
195
フォーク
33
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。