Skip to content

Commit 9463a5e

Browse files
committed
feat: 补充表单问卷识别规则
扩展 SaaS 表单和问卷规则,新增 Jotform、Formspree、Formstack、Paperform、Tally、Cognito Forms、Wufoo、SurveyMonkey、Qualtrics、Google Forms、Microsoft Forms、Fillout 等资源 URL 匹配。 补充对应技术链接,并将版本升至 1.1.12。 验证:npx prettier --write .;npx prettier --check .;pnpm run typecheck;pnpm run lint;JSON/正则全量校验;pnpm run build。
1 parent 8940b1a commit 9463a5e

3 files changed

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

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

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,62 @@
505505
"kind": "表格 / 数据库",
506506
"patterns": ["airtable\\.com\\/embed|airtable\\.com"]
507507
},
508+
{
509+
"defaults": {
510+
"kind": "表单 / 问卷",
511+
"matchIn": ["resources"]
512+
},
513+
"rules": [
514+
{
515+
"name": "Jotform",
516+
"patterns": ["cdn\\.jotfor\\.ms|js\\.jotform\\.com/JotForm\\.js|jotform\\.com/(?:jsform|form)/"]
517+
},
518+
{
519+
"name": "Formspree",
520+
"patterns": ["formspree\\.io/(?:js|f|forms|library)|formspree\\.io[^\\s\"'<>]*formbutton"]
521+
},
522+
{
523+
"name": "Formstack",
524+
"patterns": ["static\\.formstack\\.com|formstack\\.com/forms/js\\.php|formstack\\.io/forms/js\\.php"]
525+
},
526+
{
527+
"name": "Paperform",
528+
"patterns": ["paperform\\.co/(?:__embed|forms|embed)|paperform\\.co[^\\s\"'<>]*embed"]
529+
},
530+
{
531+
"name": "Tally",
532+
"patterns": ["tally\\.so/widgets/embed\\.js|tally\\.so/embed/"]
533+
},
534+
{
535+
"name": "Cognito Forms",
536+
"patterns": ["cognitoforms\\.com/f/seamless\\.js|cognitoforms\\.com/forms/"]
537+
},
538+
{
539+
"name": "Wufoo",
540+
"patterns": ["wufoo\\.com/scripts/embed/form\\.js|wufoo\\.com/forms/"]
541+
},
542+
{
543+
"name": "SurveyMonkey",
544+
"patterns": ["surveymonkey\\.com/jsEmbed\\.aspx|surveymonkey\\.com/r/"]
545+
},
546+
{
547+
"name": "Qualtrics",
548+
"patterns": ["siteintercept\\.qualtrics\\.com|qualtrics\\.com/jfe/form/|qualtrics\\.com[^\\s\"'<>]*/WRQualtrics"]
549+
},
550+
{
551+
"name": "Google Forms",
552+
"patterns": ["docs\\.google\\.com/forms/(?:d|u/\\d+/d)/"]
553+
},
554+
{
555+
"name": "Microsoft Forms",
556+
"patterns": ["forms\\.office\\.com/(?:Pages/ResponsePage\\.aspx|r/)"]
557+
},
558+
{
559+
"name": "Fillout",
560+
"patterns": ["forms\\.fillout\\.com|server\\.fillout\\.com/embed|fillout\\.com/embed"]
561+
}
562+
]
563+
},
508564
{
509565
"name": "Notion",
510566
"kind": "文档 / 站点",

public/tech-links.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,18 @@
10771077
"Calendly": "https://calendly.com",
10781078
"Cal.com": "https://cal.com",
10791079
"Airtable": "https://www.airtable.com",
1080+
"Jotform": "https://www.jotform.com",
1081+
"Formspree": "https://formspree.io",
1082+
"Formstack": "https://www.formstack.com",
1083+
"Paperform": "https://paperform.co",
1084+
"Tally": "https://tally.so",
1085+
"Cognito Forms": "https://www.cognitoforms.com",
1086+
"Wufoo": "https://www.wufoo.com",
1087+
"SurveyMonkey": "https://www.surveymonkey.com",
1088+
"Qualtrics": "https://www.qualtrics.com",
1089+
"Google Forms": "https://forms.google.com",
1090+
"Microsoft Forms": "https://forms.office.com",
1091+
"Fillout": "https://www.fillout.com",
10801092
"Notion": "https://www.notion.so",
10811093
"NocoDB": "https://www.nocodb.com",
10821094
"Baserow": "https://baserow.io",

0 commit comments

Comments
 (0)