Skip to content

Commit a76afc6

Browse files
committed
feat: 补充 Flutter / Redis Object Cache / WP-Optimize 识别
Flutter 用 main.dart.js 等编译产物文件名、generator meta、flutter-view 自定义元素三路信号匹配,置信度高。Redis Object Cache、WP-Optimize 在 wp-content/plugins/ 资源 URL 之外补一组 HTML 注释指纹兜底,只在 <!-- 开头才匹配,避免命中正文讨论。 将版本号提升到 1.3.73。
1 parent e0c6c4a commit a76afc6

4 files changed

Lines changed: 31 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.72",
4+
"version": "1.3.73",
55
"type": "module",
66
"description": "StackPrism 用于检测网页前端、后端、CDN、SaaS、广告营销、统计、登录、支付、网站程序和主题模板线索。",
77
"scripts": {

public/rules/page/frontend-frameworks.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,17 @@
6464
"patterns": ["/_astro/", "astro\\."],
6565
"selectors": ["astro-island", "astro-slot"]
6666
},
67+
{
68+
"name": "Flutter",
69+
"url": "https://flutter.dev",
70+
"confidence": "",
71+
"patterns": [
72+
"(?:^|/)(?:main\\.dart\\.js|flutter\\.js|flutter_bootstrap\\.js)(?:[?#]|$)",
73+
"<meta[^>]+name=[\"']generator[\"'][^>]+content=[\"']Flutter[\"']",
74+
"<flutter-view\\b"
75+
],
76+
"selectors": ["flutter-view"]
77+
},
6778
{
6879
"name": "Ember.js",
6980
"confidence": "",

public/rules/page/wordpress-plugins.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12012,6 +12012,24 @@
1201212012
{
1201312013
"name": "Genesis Portfolio Pro",
1201412014
"patterns": ["wp-content/plugins/genesis-portfolio-pro(?:/|[?#]|$)"]
12015+
},
12016+
{
12017+
"defaults": {
12018+
"matchType": "keyword",
12019+
"matchIn": ["html"],
12020+
"resourceOnly": false,
12021+
"resourceHints": []
12022+
},
12023+
"rules": [
12024+
{
12025+
"name": "Redis Object Cache",
12026+
"patterns": ["<!-- Performance optimized by Redis Object Cache"]
12027+
},
12028+
{
12029+
"name": "WP-Optimize",
12030+
"patterns": ["<!-- Cached by WP-Optimize"]
12031+
}
12032+
]
1201512033
}
1201612034
]
1201712035
}

public/tech-links.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
"Gatsby": "https://www.gatsbyjs.com",
142142
"Remix": "https://remix.run",
143143
"Astro": "https://astro.build",
144+
"Flutter": "https://flutter.dev",
144145
"Svelte": "https://svelte.dev",
145146
"SvelteKit": "https://svelte.dev/docs/kit/introduction",
146147
"Qwik": "https://qwik.dev",

0 commit comments

Comments
 (0)