Skip to content

Commit a803e2f

Browse files
committed
20260606-2309
1 parent aed218d commit a803e2f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CCW-Code-Injection-Risk-Warning.user.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// @name CCW-Code-Injection-Risk-Warning
33
// @description CCW代码注入风险警告,让你的账号更安全。
44
// @author bddjr
5-
// @version 20260606-2307
5+
// @version 20260606-2309
66
// @match https://www.ccw.site/*
77
// @match https://learn.ccw.site/*
88
// @match https://m.ccw.site/*
@@ -22,6 +22,8 @@ if (location.hostname == 'm.ccw.site') {
2222
// 脚本无法防御该攻击,因为攻击者的代码先执行。
2323
// 参考 https://github.com/bddjr/CCW-Code-Injection-Risk-Warning/issues/3
2424
if (
25+
// 白名单
26+
// ccw个人信息清空学校.svg
2527
location.pathname != '/user_projects_assets/e8095c8b2efbc421b974bf9ec3dd5844.svg' &&
2628
document.contentType == 'image/svg+xml'
2729
) {

0 commit comments

Comments
 (0)