Kaggle注册验证码问题
Captcha must be filled out.
- 使用
Edge
浏览器
Header Editor 插件安装
- 下载插件Header Editor
导入重定向脚本
-
点击扩展插件, 打开
Header Editor
插件,进行管理
-
点击导入输入下载链接进行下载或者导入本地json文件(二者任选其一),详见
附录
-
导入后点击
添加
, 最后保存
刷新注册页面
-
刷新注册界面
附录
- 下载链接
- Json文件内容
{"request": [{"enable": true,"name": "Google APIs","ruleType": "redirect","matchType": "regexp","pattern": "^http(s?)://ajax\\.googleapis\\.com/(.*)","exclude": "","isFunction": false,"action": "redirect","to": "https://gapis.geekzu.org/ajax/$2","group": "Google Redirect"},{"enable": true,"name": "reCaptcha","ruleType": "redirect","matchType": "regexp","pattern": "^http(s?)://(?:www\\.|recaptcha\\.|)google\\.com/recaptcha/(.*)","exclude": "","isFunction": false,"action": "redirect","to": "https://recaptcha.net/recaptcha/$2","group": "Google Redirect"}],"sendHeader": [],"receiveHeader": [{"enable": true,"name": "Content Security Policy Header Modification","ruleType": "modifyReceiveHeader","matchType": "all","pattern": "","exclude": "","isFunction": true,"code": "let rt = detail.type;\nif (rt === 'script' || rt === 'stylesheet' || rt === 'main_frame' || rt === 'sub_frame') {\n for (let i in val) {\n if (val[i].name.toLowerCase() === 'content-security-policy') {\n let s = val[i].value;\n s = s.replace(/googleapis\\.com/g, '$& https://gapis.geekzu.org');\n s = s.replace(/recaptcha\\.google\\.com/g, '$& https://recaptcha.net');\n s = s.replace(/google\\.com/g, '$& https://recaptcha.net');\n s = s.replace(/gstatic\\.com/g, '$& https://*.gstatic.cn');\n val[i].value = s;\n }\n }\n}","group": "Google Redirect"}]
}