We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aed218d commit a803e2fCopy full SHA for a803e2f
1 file changed
CCW-Code-Injection-Risk-Warning.user.js
@@ -2,7 +2,7 @@
2
// @name CCW-Code-Injection-Risk-Warning
3
// @description CCW代码注入风险警告,让你的账号更安全。
4
// @author bddjr
5
-// @version 20260606-2307
+// @version 20260606-2309
6
// @match https://www.ccw.site/*
7
// @match https://learn.ccw.site/*
8
// @match https://m.ccw.site/*
@@ -22,6 +22,8 @@ if (location.hostname == 'm.ccw.site') {
22
// 脚本无法防御该攻击,因为攻击者的代码先执行。
23
// 参考 https://github.com/bddjr/CCW-Code-Injection-Risk-Warning/issues/3
24
if (
25
+ // 白名单
26
+ // ccw个人信息清空学校.svg
27
location.pathname != '/user_projects_assets/e8095c8b2efbc421b974bf9ec3dd5844.svg' &&
28
document.contentType == 'image/svg+xml'
29
) {
0 commit comments