diff --git a/.vscode/settings.json b/.vscode/settings.json index f265668..8aaca8a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -21,5 +21,8 @@ "frontMatter.dashboard.openOnStart": false, "[css]": { "editor.defaultFormatter": "vscode.css-language-features" + }, + "[html]": { + "editor.defaultFormatter": "vscode.html-language-features" } } diff --git a/src/content/assets/images/hCaptcha-localhost-errkey.png b/src/content/assets/images/hCaptcha-localhost-errkey.png new file mode 100644 index 0000000..368edfa Binary files /dev/null and b/src/content/assets/images/hCaptcha-localhost-errkey.png differ diff --git a/src/content/assets/images/hcaptcha-recaptchacompat-origin.png b/src/content/assets/images/hcaptcha-recaptchacompat-origin.png new file mode 100644 index 0000000..56afb30 Binary files /dev/null and b/src/content/assets/images/hcaptcha-recaptchacompat-origin.png differ diff --git a/src/content/assets/images/hcaptcha-recaptchacompat-translated.png b/src/content/assets/images/hcaptcha-recaptchacompat-translated.png new file mode 100644 index 0000000..6a6c59c Binary files /dev/null and b/src/content/assets/images/hcaptcha-recaptchacompat-translated.png differ diff --git a/src/content/assets/images/hcaptcha-three-boxes.png b/src/content/assets/images/hcaptcha-three-boxes.png new file mode 100644 index 0000000..4d4bce6 Binary files /dev/null and b/src/content/assets/images/hcaptcha-three-boxes.png differ diff --git a/src/content/posts/captcha.md b/src/content/posts/captcha.md index 95e61bd..0101765 100644 --- a/src/content/posts/captcha.md +++ b/src/content/posts/captcha.md @@ -9,43 +9,35 @@ draft: false showcover: false customcover: ../assets/images/cloudflare-turnstile-verify-error.png --- - + + - 你好~ 我的 Captcha 还蛮多的,欢迎你们来这里玩,玩累了就直接刷新,没问题的~ -:::NOTE["抱歉"] +:::NOTE[抱歉] 现在只有两家 Captcha,后续会慢慢补上其他 Captcha 的! ::: # Google reCaptcha V2 ## 休闲版(不保证) - -
-
-
+
## 挑战版(不保证) +
-
-
-
- -
+--- # Cloudflare Turnstile -
- \ No newline at end of file + + +--- + +# hCaptcha +## 简单模式 +
+ +## 困难模式 +
+ +--- + +# Arkose Labs FunCAPTCHA + \ No newline at end of file diff --git a/src/content/posts/hCaptcha-recaptchacompat.md b/src/content/posts/hCaptcha-recaptchacompat.md new file mode 100644 index 0000000..7316e52 --- /dev/null +++ b/src/content/posts/hCaptcha-recaptchacompat.md @@ -0,0 +1,35 @@ +--- +title: hCaptcha “强兼” reCaptcha? +published: 2025-08-13 +tags: ["网站", "验证"] +description: 一次出3个 hCaptcha?瞧瞧你干的好事! +image: ../assets/images/hCaptcha-localhost-errkey.png +category: 记录 +--- + +# 强兼 Google reCaptcha 失败? +如你所见,这是 hCaptcha 无法验证的样子。当然,如果你在一个页面同时放上 [Google reCaptcha](https://developers.google.com/recaptcha?hl=zh-cn)(我的是 v2)和 [hCaptcha](https://www.hcaptcha.com),那么聪明的 hCaptcha 会 [开始兼容它](https://docs.hcaptcha.com/configuration) 。 +![hcaptcha-recaptchacompat-origin](../assets/images/hcaptcha-recaptchacompat-origin.png) + +**译文:** +![hcaptcha-recaptchacompat-translated](../assets/images/hcaptcha-recaptchacompat-translated.png) + +--- + +[posts/captcha/](/posts/captcha/) +而开启后却是这样的: +![hcaptcha-three-boxes](../assets/images/hcaptcha-three-boxes.png) + +没错,出现了 3 个 hCaptcha 框。而且出现的位置就在 reCaptcha 的位置。哇,强兼失败? + +byd 太气人了这。 + +--- + +# 解决方法 +将 hCaptcha 的脚本请求 URL 加上 `?recaptchacompat=off` 即可: +```html + +``` \ No newline at end of file diff --git a/src/pages/friends.astro b/src/pages/friends.astro index c02eaaf..3f21c04 100644 --- a/src/pages/friends.astro +++ b/src/pages/friends.astro @@ -86,6 +86,13 @@ import { Icon } from "astro-icon/components";
什么都想了解一点
+ +
+ +
MC_Kero的 blog
+
+
依稀当年泪目干!
+