Skip to content

Commit

Permalink
Fix module issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
NobyDa committed May 5, 2024
1 parent 1f2ceb1 commit b929f67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Surge/Module/GoogleCAPTCHA.sgmodule
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!name=Google人机验证
#!desc=Google搜索内容时并发使用多个策略/策略组,以避免可能出现的人机验证。注意:需要在模块参数填写策略/策略组名的正则表达式。
#!arguments=策略正则,脚本引擎:auto
#!arguments-desc=策略正则:策略/策略组名的正则表达式,例如 ^(🇸🇬|🇭🇰)\s.*\d+$ 如需同时使用所有策略/策略组可使用 .+ 表示。\n\n脚本引擎:jsc/webview/auto,默认auto。
#!arguments-desc=策略正则:策略/策略组名的正则表达式,例如:\n^(🇸🇬|🇭🇰)\s.*\d+$ 如需同时使用所有策略/策略组可使用 .+ 表示。\n\n脚本引擎:jsc/webview/auto,默认auto。
#!category=🐻 NobyDa

[Script]
Google CAPTCHA = type=http-response,pattern=^https:\/\/www\.google\.com(?:\.[a-z]+|)\/(?:search\?(?:|.+?&)q=|$),requires-body=1,debug=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Google_CAPTCHA.js,max-size=0,timeout=10,ability=http-client-policy,engine={{{脚本引擎}}},argument={{{策略正则}}}

[MITM]
hostname = www.google.com*
hostname = %APPEND% www.google.com*

0 comments on commit b929f67

Please sign in to comment.