Skip to content

Commit 4629075

Browse files
committed
feat: 补充 highlight.js 与 tsParticles 运行时识别
新增 highlight.js 的 hljs* 类名与 tsParticles 注入的 canvas.tsparticles-canvas-el 选择器两条运行时 DOM 规则,覆盖被 bundler 哈希打包、URL 特征丢失的场景。 将版本号提升到 1.3.76
1 parent bd7d0cc commit 4629075

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "stackprism",
33
"private": true,
4-
"version": "1.3.75",
4+
"version": "1.3.76",
55
"type": "module",
66
"description": "StackPrism 用于检测网页前端、后端、CDN、SaaS、广告营销、统计、登录、支付、网站程序和主题模板线索。",
77
"scripts": {

public/rules/page/frontend-extra.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,24 @@
678678
"patterns": ["snowpack|\\/_snowpack\\/"]
679679
}
680680
]
681+
},
682+
{
683+
"defaults": {
684+
"category": "前端库",
685+
"confidence": ""
686+
},
687+
"rules": [
688+
{
689+
"name": "highlight.js",
690+
"matchIn": ["html"],
691+
"classPrefixes": ["hljs"]
692+
},
693+
{
694+
"name": "tsparticles",
695+
"matchIn": ["html"],
696+
"selectors": ["canvas.tsparticles-canvas-el"]
697+
}
698+
]
681699
}
682700
]
683701
}

0 commit comments

Comments
 (0)