Skip to content

Commit 30aeef1

Browse files
committed
feat: 补充实验平台识别规则
扩展 SaaS 页面规则,新增 Feature Flag、A/B 测试和实验平台资源 URL 匹配。 覆盖 ConfigCat、Split.io、DevCycle、CloudBees Feature Management、Harness Feature Flags、Taplytics、AB Tasty、Kameleoon、Convert Experiences、SiteSpect、Eppo、Mutiny、Intellimize、Adobe Target、Oracle Maxymiser、Convertize、FeatureHub、Hypertune、FeatBit、Tggl 等技术,并补充对应技术链接。 将版本升至 1.1.21。 验证:npx prettier --write .;npx prettier --check .;pnpm run typecheck;pnpm run lint;JSON/正则全量校验;pnpm run build。
1 parent e6c9537 commit 30aeef1

3 files changed

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

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

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,6 +1043,102 @@
10431043
"patterns": ["growthbook\\.io|growthbook-js"],
10441044
"globals": ["growthbook"]
10451045
},
1046+
{
1047+
"defaults": {
1048+
"kind": "Feature Flag / 实验平台",
1049+
"matchIn": ["resources"]
1050+
},
1051+
"rules": [
1052+
{
1053+
"name": "ConfigCat",
1054+
"patterns": ["cdn\\.configcat\\.com|configcat\\.com/[^\\s\"'<>]*(?:sdk|config|flags)|configcat-js"]
1055+
},
1056+
{
1057+
"name": "Split.io",
1058+
"patterns": ["sdk\\.split\\.io|cdn\\.split\\.io|events\\.split\\.io|split\\.io/[^\\s\"'<>]*(?:sdk|browser|events)"]
1059+
},
1060+
{
1061+
"name": "DevCycle",
1062+
"patterns": ["client-sdk\\.devcycle\\.com|events\\.devcycle\\.com|devcycle\\.com/[^\\s\"'<>]*(?:client-sdk|sdk|events)"]
1063+
},
1064+
{
1065+
"name": "CloudBees Feature Management",
1066+
"patterns": [
1067+
"app\\.rollout\\.io|statestore\\.rollout\\.io|rollout\\.io/[^\\s\"'<>]*(?:scripts|sdk)|cloudbees\\.com/[^\\s\"'<>]*feature-management"
1068+
]
1069+
},
1070+
{
1071+
"name": "Harness Feature Flags",
1072+
"patterns": [
1073+
"sdk\\.ff\\.harness\\.io|config\\.ff\\.harness\\.io|events\\.ff\\.harness\\.io|harness\\.io/[^\\s\"'<>]*feature-flags"
1074+
]
1075+
},
1076+
{
1077+
"name": "Taplytics",
1078+
"patterns": ["js\\.taplytics\\.com|api\\.taplytics\\.com|taplytics\\.com/[^\\s\"'<>]*(?:sdk|js|experiment)"]
1079+
},
1080+
{
1081+
"name": "AB Tasty",
1082+
"patterns": ["try\\.abtasty\\.com|ariane\\.abtasty\\.com|abtasty\\.com/[^\\s\"'<>]*(?:js|tag|variation)"]
1083+
},
1084+
{
1085+
"name": "Kameleoon",
1086+
"patterns": ["static\\.kameleoon\\.com|events\\.kameleoon\\.com|kameleoon\\.(?:eu|com)/[^\\s\"'<>]*(?:js|sdk|client)"]
1087+
},
1088+
{
1089+
"name": "Convert Experiences",
1090+
"patterns": ["cdn-[0-9]+\\.convertexperiments\\.com|convert\\.com/[^\\s\"'<>]*(?:js|experiments)|convertglobal"]
1091+
},
1092+
{
1093+
"name": "SiteSpect",
1094+
"patterns": ["cdn\\.sitespect\\.com|sitespect\\.com/[^\\s\"'<>]*(?:__ssobj|sdk|api)|__ssobj"]
1095+
},
1096+
{
1097+
"name": "Eppo",
1098+
"patterns": ["cdn\\.geteppo\\.com|eppo\\.cloud|geteppo\\.com/[^\\s\"'<>]*(?:sdk|client|experiment)"]
1099+
},
1100+
{
1101+
"name": "Mutiny",
1102+
"patterns": [
1103+
"client-registry\\.mutinycdn\\.com|cdn\\.mutinycdn\\.com|mutinyhq\\.io/[^\\s\"'<>]*(?:client|personalize|script)"
1104+
]
1105+
},
1106+
{
1107+
"name": "Intellimize",
1108+
"patterns": ["cdn\\.intellimize\\.co|log\\.intellimize\\.co|intellimize\\.co/[^\\s\"'<>]*(?:sdk|optimize|experiments)"]
1109+
},
1110+
{
1111+
"name": "Adobe Target",
1112+
"patterns": [
1113+
"mboxedge[0-9]*\\.tt\\.omtrdc\\.net|adobe\\.target\\.(?:getOffer|triggerView)|assets\\.adobedtm\\.com/[^\\s\"'<>]*at\\.js"
1114+
]
1115+
},
1116+
{
1117+
"name": "Oracle Maxymiser",
1118+
"patterns": ["service\\.maxymiser\\.net|maxymiser\\.com/[^\\s\"'<>]*(?:cdn|js|mmcore)|mmapi"]
1119+
},
1120+
{
1121+
"name": "Convertize",
1122+
"patterns": ["cdn\\.convertize\\.io|scripts\\.convertize\\.io|convertize\\.com/[^\\s\"'<>]*(?:experiments|script|widget)"]
1123+
},
1124+
{
1125+
"name": "FeatureHub",
1126+
"patterns": ["edge\\.featurehub\\.io|featurehub\\.io/[^\\s\"'<>]*(?:sdk|client|features)|featurehub-javascript"]
1127+
},
1128+
{
1129+
"name": "Hypertune",
1130+
"patterns": ["edge\\.hypertune\\.com|hypertune\\.com/[^\\s\"'<>]*(?:sdk|client|flags)|hypertune-js"]
1131+
},
1132+
{
1133+
"name": "FeatBit",
1134+
"patterns": ["featbit\\.co/[^\\s\"'<>]*(?:sdk|flags|events)|featbit\\.com/[^\\s\"'<>]*(?:sdk|flags|events)|featbit-js"]
1135+
},
1136+
{
1137+
"name": "Tggl",
1138+
"patterns": ["api\\.tggl\\.io|cdn\\.tggl\\.io|tggl\\.io/[^\\s\"'<>]*(?:sdk|client|flags)"]
1139+
}
1140+
]
1141+
},
10461142
{
10471143
"name": "Typeform",
10481144
"kind": "表单",

public/tech-links.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,6 +1188,26 @@
11881188
"LaunchDarkly": "https://launchdarkly.com",
11891189
"Statsig": "https://www.statsig.com",
11901190
"GrowthBook": "https://www.growthbook.io",
1191+
"ConfigCat": "https://configcat.com",
1192+
"Split.io": "https://www.split.io",
1193+
"DevCycle": "https://devcycle.com",
1194+
"CloudBees Feature Management": "https://www.cloudbees.com/products/feature-management",
1195+
"Harness Feature Flags": "https://www.harness.io/products/feature-flags",
1196+
"Taplytics": "https://taplytics.com",
1197+
"AB Tasty": "https://www.abtasty.com",
1198+
"Kameleoon": "https://www.kameleoon.com",
1199+
"Convert Experiences": "https://www.convert.com",
1200+
"SiteSpect": "https://www.sitespect.com",
1201+
"Eppo": "https://www.geteppo.com",
1202+
"Mutiny": "https://www.mutinyhq.com",
1203+
"Intellimize": "https://www.intellimize.com",
1204+
"Adobe Target": "https://business.adobe.com/products/target/adobe-target.html",
1205+
"Oracle Maxymiser": "https://www.oracle.com/cx/marketing/maxymiser",
1206+
"Convertize": "https://www.convertize.com",
1207+
"FeatureHub": "https://featurehub.io",
1208+
"Hypertune": "https://www.hypertune.com",
1209+
"FeatBit": "https://www.featbit.co",
1210+
"Tggl": "https://tggl.io",
11911211
"Flagsmith": "https://www.flagsmith.com",
11921212
"Unleash": "https://www.getunleash.io",
11931213
"Flagr": "https://github.com/openflagr/flagr",

0 commit comments

Comments
 (0)