Skip to content

Commit a392783

Browse files
committed
fix: Vue 检测去掉 __VUE_DEVTOOLS_GLOBAL_HOOK__ 全局变量
该全局变量由 Vue DevTools 浏览器扩展注入到所有页面,不是 Vue 框架本身的标志;保留 window.Vue、[data-v-app]、#app.__vue__ 等框架自身信号。Fixes #10。 将版本号提升到 1.3.71。
1 parent 032fe1e commit a392783

2 files changed

Lines changed: 2 additions & 2 deletions

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

public/rules/page/frontend-frameworks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{
1919
"name": "Vue",
2020
"patterns": ["vue(?:\\.runtime)?(?:\\.global)?(?:\\.prod)?(?:\\.min)?\\.js", "vue-router", "pinia"],
21-
"globals": ["Vue", "__VUE_DEVTOOLS_GLOBAL_HOOK__"],
21+
"globals": ["Vue"],
2222
"selectors": ["[data-v-app]", "#app.__vue__"]
2323
},
2424
{

0 commit comments

Comments
 (0)