🤖 How I Outsmarted reCAPTCHA Using Greasy Fork and 2Captcha (Yes, Really)

 



Okay, story time.

You know those annoying “I’m not a robot” checkboxes? Yeah, the ones that always show up right when you’re in a rush — and then make you click on 12 blurry pictures of buses, traffic lights, and… is that a fire hydrant? Who even knows.

Well, I got tired of wasting time and figured out how to solve them automatically using something called Greasy Fork, a cool browser extension manager, and 2Captcha, an online service that handles captchas for you. No more clicking. No more guessing. Just poof — done.


🧰 What You’ll Need

Here’s your captcha-fighting starter pack:

  • 🧠 A 2Captcha account and your API key

  • 🧩 Tampermonkey (or Violentmonkey) installed in your browser

  • 📜 A userscript from Greasy Fork (or just copy-paste the one below)

  • ⚙️ Some very basic JavaScript knowledge (or a friend who has it)

No need for bots, backends, or PhDs in engineering. Just your browser, a bit of copy-pasting, and some digital wizardry.


🦾 What the Script Does (Like Magic)

  • Detects the captcha on the page

  • Sends it to 2Captcha (they do the hard part for you)

  • Waits a bit while they solve it

  • Drops the answer back into the page

  • Submits the form for you

  • 🎉 You win!


📜 The Script Itself

Paste this into your Tampermonkey or upload it to Greasy Fork if you’re feeling fancy:

// ==UserScript== // @name reCAPTCHA Solver via 2Captcha // @namespace https://example.com/ // @version 1.0 // @description Beats those annoying reCAPTCHAs using 2Captcha // @match *://*/* // @grant none // ==/UserScript== (async function () { const API_KEY = 'YOUR_2CAPTCHA_API_KEY'; // Replace this with your actual key const sleep = ms => new Promise(r => setTimeout(r, ms)); const el = document.querySelector('.g-recaptcha[data-sitekey]'); if (!el) return; const sitekey = el.getAttribute('data-sitekey'); const url = window.location.href; const task = await fetch('https://api.2captcha.com/createTask', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ clientKey: API_KEY, task: { type: 'RecaptchaV2TaskProxyless', websiteKey: sitekey, websiteURL: url, isInvisible: false } }) }).then(res => res.json()); if (task.errorId) throw new Error(task.errorDescription); const taskId = task.taskId; let token; for (let i = 0; i < 20; i++) { await sleep(5000); const result = await fetch('https://api.2captcha.com/getTaskResult', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ clientKey: API_KEY, taskId }) }).then(res => res.json()); if (result.status === 'ready') { token = result.solution.gRecaptchaResponse; break; } } if (!token) throw new Error('Still waiting… captcha took too long 😵'); let input = document.querySelector('[name="g-recaptcha-response"]'); if (!input) { input = document.createElement('textarea'); input.name = 'g-recaptcha-response'; input.style.display = 'none'; document.body.appendChild(input); } input.value = token; const form = el.closest('form'); if (form) form.submit(); })();

🧠 A Few Friendly Tips

  • Make sure your 2Captcha account isn’t broke (ask me how I know 😅)

  • The script waits patiently, but it’s not that patient — 2Captcha usually replies in under a minute

  • If nothing happens, open your browser console (F12) and check for messages

  • Want it to work only on specific sites? Tweak the @match line above


💡 Want to Share It? Use Greasy Fork

If you want to reuse this or share it with your friends, go to GreasyFork.org, make an account, and upload your script there. It’s super easy, and installing scripts from Greasy Fork is just one click for anyone with Tampermonkey.


🚀 Final Thoughts

Look, captchas are necessary — but they’re also annoying. With a little help from 2Captcha and a browser extension, you can save yourself tons of time (and sanity). I’ve been using this setup for a while now and honestly? It works great.

Now go ahead — solve captchas like a pro, without lifting a finger.
(Okay, maybe one finger… to hit Enter 😎)

Комментарии

Популярные сообщения из этого блога

Roblox captcha solver

How to Bypass reCAPTCHA v2 Using Tampermonkey and 2Captcha API

Bypassing Cloudflare Challenge with Puppeteer and 2Captcha