Skip to content

Commit 62caae4

Browse files
committed
feat: 补充WebPush识别规则
扩展 SaaS 页面规则,新增 Web Push 和浏览器消息推送服务资源 URL 匹配。 覆盖 PushEngage Web Push、PushOwl、iZooto、Webpushr Web Push、Aimtell、VWO Engage / PushCrew、Subscribers.com、WonderPush、PushAlert、Truepush、FoxPush、Notix、Pushnami、Gravitec Web Push、Pushwoosh Web Push、Airship Web Notify、PushBots、Notificare Web Push、NotifyVisitors、PushAssist,并补充对应技术链接。 将版本升至 1.1.31。 验证:npx prettier --write .;npx prettier --check .;pnpm run typecheck;pnpm run lint;JSON/正则全量校验;pnpm run build;版本一致性检查;git diff --check。
1 parent c71a504 commit 62caae4

3 files changed

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

public/rules/page/saas-services-page.json

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,100 @@
824824
"patterns": ["onesignal\\.com|onesignalcdn\\.com|onesignal-sdk"],
825825
"globals": ["OneSignal"]
826826
},
827+
{
828+
"defaults": {
829+
"kind": "Web Push / 消息推送",
830+
"matchIn": ["resources"]
831+
},
832+
"rules": [
833+
{
834+
"name": "PushEngage Web Push",
835+
"patterns": [
836+
"clientcdn\\.pushengage\\.com|cdn\\.pushengage\\.com|pushengage\\.com/[^\\s\"'<>]*(?:service-worker|pushengage|subscription|widget)"
837+
]
838+
},
839+
{
840+
"name": "PushOwl",
841+
"patterns": ["cdn\\.pushowl\\.com|app\\.pushowl\\.com|pushowl\\.com/[^\\s\"'<>]*(?:widget|sdk|subscription|web-push)"]
842+
},
843+
{
844+
"name": "iZooto",
845+
"patterns": ["cdn\\.izooto\\.com|izooto\\.com/[^\\s\"'<>]*(?:sdk|webpush|push|subscription)|api\\.izooto\\.com"]
846+
},
847+
{
848+
"name": "Webpushr Web Push",
849+
"patterns": ["cdn\\.webpushr\\.com|webpushr\\.com/[^\\s\"'<>]*(?:webpushr|push|sw|subscription)"]
850+
},
851+
{
852+
"name": "Aimtell",
853+
"patterns": ["cdn\\.aimtell\\.com|api\\.aimtell\\.com|aimtell\\.com/[^\\s\"'<>]*(?:sdk|push|subscription|worker)"]
854+
},
855+
{
856+
"name": "VWO Engage / PushCrew",
857+
"patterns": [
858+
"cdn\\.pushcrew\\.com|static\\.pushcrew\\.com|pushcrew\\.com/[^\\s\"'<>]*(?:sdk|worker|subscription)|vwo\\.com/[^\\s\"'<>]*engage"
859+
]
860+
},
861+
{
862+
"name": "Subscribers.com",
863+
"patterns": [
864+
"cdn\\.subscribers\\.com|app\\.subscribers\\.com|subscribers\\.com/[^\\s\"'<>]*(?:assets|webpush|widget|subscription)"
865+
]
866+
},
867+
{
868+
"name": "WonderPush",
869+
"patterns": ["cdn\\.by\\.wonderpush\\.com|wonderpush\\.com/[^\\s\"'<>]*(?:sdk|webpush|push|worker)"]
870+
},
871+
{
872+
"name": "PushAlert",
873+
"patterns": ["cdn\\.pushalert\\.co|pushalert\\.co/[^\\s\"'<>]*(?:pushalert|worker|subscription|widget)"]
874+
},
875+
{
876+
"name": "Truepush",
877+
"patterns": ["sdki\\.truepush\\.com|cdn\\.truepush\\.com|truepush\\.com/[^\\s\"'<>]*(?:sdk|webpush|push|worker)"]
878+
},
879+
{
880+
"name": "FoxPush",
881+
"patterns": ["cdn\\.foxpush\\.com|api\\.foxpush\\.com|foxpush\\.com/[^\\s\"'<>]*(?:sdk|push|subscription|worker)"]
882+
},
883+
{
884+
"name": "Notix",
885+
"patterns": ["notix\\.io/[^\\s\"'<>]*(?:sdk|push|enot|worker)|cdn\\.notix\\.io|push\\.notix\\.io"]
886+
},
887+
{
888+
"name": "Pushnami",
889+
"patterns": ["api\\.pushnami\\.com|cdn\\.pushnami\\.com|pushnami\\.com/[^\\s\"'<>]*(?:sdk|push|worker|subscription)"]
890+
},
891+
{
892+
"name": "Gravitec Web Push",
893+
"patterns": ["cdn\\.gravitec\\.net|push\\.gravitec\\.net|gravitec\\.net/[^\\s\"'<>]*(?:sdk|web-push|push|worker)"]
894+
},
895+
{
896+
"name": "Pushwoosh Web Push",
897+
"patterns": ["cdn\\.pushwoosh\\.com|cp\\.pushwoosh\\.com|pushwoosh\\.com/[^\\s\"'<>]*(?:webpush|push|worker|sdk)"]
898+
},
899+
{
900+
"name": "Airship Web Notify",
901+
"patterns": ["aswpsdk(?:us|eu)\\.com|web-sdk\\.urbanairship\\.com|urbanairship\\.com/[^\\s\"'<>]*(?:web-notify|web-push|sdk)"]
902+
},
903+
{
904+
"name": "PushBots",
905+
"patterns": ["cdn\\.pushbots\\.com|api\\.pushbots\\.com|pushbots\\.com/[^\\s\"'<>]*(?:sdk|push|worker|subscription)"]
906+
},
907+
{
908+
"name": "Notificare Web Push",
909+
"patterns": ["cdn\\.notifica\\.re|push\\.notifica\\.re|notifica\\.re/[^\\s\"'<>]*(?:webpush|push|sdk|worker)"]
910+
},
911+
{
912+
"name": "NotifyVisitors",
913+
"patterns": ["cdn\\.notifyvisitors\\.com|notifyvisitors\\.com/[^\\s\"'<>]*(?:push|webpush|sdk|notification)"]
914+
},
915+
{
916+
"name": "PushAssist",
917+
"patterns": ["cdn\\.pushassist\\.com|pushassist\\.com/[^\\s\"'<>]*(?:sdk|push|worker|subscription)"]
918+
}
919+
]
920+
},
827921
{
828922
"name": "Sentry",
829923
"kind": "错误监控",

public/tech-links.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,26 @@
11441144
"Kount": "https://kount.com",
11451145
"SEON Fraud Prevention": "https://seon.io",
11461146
"OneSignal": "https://onesignal.com",
1147+
"PushEngage Web Push": "https://www.pushengage.com",
1148+
"PushOwl": "https://pushowl.com",
1149+
"iZooto": "https://www.izooto.com",
1150+
"Webpushr Web Push": "https://www.webpushr.com",
1151+
"Aimtell": "https://aimtell.com",
1152+
"VWO Engage / PushCrew": "https://vwo.com/engage",
1153+
"Subscribers.com": "https://subscribers.com",
1154+
"WonderPush": "https://www.wonderpush.com",
1155+
"PushAlert": "https://pushalert.co",
1156+
"Truepush": "https://www.truepush.com",
1157+
"FoxPush": "https://www.foxpush.com",
1158+
"Notix": "https://notix.io",
1159+
"Pushnami": "https://pushnami.com",
1160+
"Gravitec Web Push": "https://gravitec.net",
1161+
"Pushwoosh Web Push": "https://www.pushwoosh.com",
1162+
"Airship Web Notify": "https://www.airship.com",
1163+
"PushBots": "https://pushbots.com",
1164+
"Notificare Web Push": "https://notificare.com",
1165+
"NotifyVisitors": "https://www.notifyvisitors.com",
1166+
"PushAssist": "https://www.pushassist.com",
11471167
"Sentry": "https://sentry.io",
11481168
"GlitchTip": "https://glitchtip.com",
11491169
"LogRocket": "https://logrocket.com",

0 commit comments

Comments
 (0)