Skip to content

additional test for responseType=document - #1262

Merged
CodFrm merged 14 commits into
scriptscat:mainfrom
cyfung1031:pr-add-xhr-test-33
Mar 16, 2026
Merged

CodFrm merged 14 commits into
scriptscat:mainfrom
cyfung1031:pr-add-xhr-test-33

Conversation

@cyfung1031

@cyfung1031 cyfung1031 commented Feb 16, 2026 •

Copy link
Copy Markdown
Collaborator

@CodFrm 加了两个test 可在TTP环境跑
SC和TM在TTP跑会出错 工具本身未能在TTP跑😂

https://benjamin-philipp.com/test-trusted-types.php?defaultPolicy=false

cyfung1031 and others added 12 commits February 16, 2026 18:33
* 🐛 修复 脚本设置-授权管理 控制无效的问题

* 将校验逻辑放到confirm

* 修复GM cookie权限判断

* 删除directDeny

* buildCacheKey

* 整理代码

* Update src/app/service/service_worker/permission_verify.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* 🔒 使用 DOMPurify 清理公告通知的 HTML 内容 scriptscat#1273

使用 DOMPurify 对服务端下发的公告 HTML 进行白名单过滤,防止潜在的
UI 注入风险。只允许基础标签和安全的 CSS 属性(颜色、字体相关)。


* code update

---------

Co-authored-by: cyfung1031 <44498510+cyfung1031@users.noreply.github.com>
* 🐛 修复 include *?* 表达式处理问题 scriptscat#1271

* Added error handling to avoid crash

* update globSplit

* update globSplit

* update globSplit

---------

Co-authored-by: cyfung1031 <44498510+cyfung1031@users.noreply.github.com>