Universal Captcha Solver

Solve captchas on any website using Gemini AI with a generic selector picker

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
quantavil
日安装量
4
总安装量
4
评分
0 0 0
版本
1.1
创建于
2026-01-11
更新于
2026-01-11
大小
21.6 KB
许可证
MIT
适用于
所有网站

Universal Captcha Solver Userscript

A powerful, universal captcha solver userscript that uses the Google Gemini API to solve text-based captchas on any website. It features a modern, aesthetic UI and a point-and-click configuration system.

Features

  • Universal Compatibility: Works on any website with a captcha image and input field.
  • Gemini AI Powered: Uses Google's Gemini Vision models (default: gemma-3-27b-it) for high-accuracy solving.
  • Point-and-Click Setup: Easily configure new sites by clicking the captcha image and the input box.
  • Auto-Solve: Automatically detects and attempts to solve captchas on page load or when the image updates.
  • Smart Optimization: Automatically scales down large images to ensuring fast API responses and low latency.
  • Robust & Secure: Handles cross-origin images, prevents memory leaks, and manages concurrency safely.
  • Aesthetic UI: A beautiful, non-intrusive widget that can be minimized.

Installation

  1. Install a Userscript Manager:

  2. Install the Script:

    • Create a new script in your manager.
    • Copy and paste the contents of main.js into the editor.
    • Save the script.

Configuration

Setting the API Key

  1. Go to any website.
  2. Open your Userscript Manager menu (usually the extension icon).
  3. Select "🔑 Set API Key".
  4. Enter your Google Gemini API Key. You can get one for free at Google AI Studio.
  5. (Optional) Enter a custom model name (e.g., gemini-1.5-flash).

Configuring a Website

  1. Navigate to a page with a captcha.
  2. Open the Userscript Manager menu.
  3. Select "⚙️ Configure Captcha Solver".
  4. Step 1: Click on the Captcha Image.
  5. Step 2: Click on the Answer Input Field.
  6. The page will reload, and the solver will activate automatically.

Usage

  • Auto-Solve: The widget will show "Solving..." automatically when a configured captcha is detected.
  • Manual Solve: Click the "Solve" button on the widget to trigger a new attempt.
  • Minimize: Click the robot icon 🤖 to minimize the widget to a floating bubble.
  • Reset: Use the Userscript menu to reset configuration for the current site or globally.

Troubleshooting

  • "Image extraction failed": The image might be protected by strict CORS headers that prevent canvas access. The script attempts to bypass this but may fail on some strictly secured sites.
  • "API Error": Check your API key and ensure you have quota available.