Change ReCAPTCHA and hCaptcha labels to be something more epic
Install (requires a userscript manager)
Change ReCAPTCHA and hCaptcha labels to be something more epic
Install (requires a userscript manager)
| // ==UserScript== | |
| // @name I'm not a Fortnite player | |
| // @namespace https://github.com/Richienb | |
| // @version 0.1 | |
| // @description Change ReCAPTCHA and hCaptcha labels to be something more epic | |
| // @author Richie Bendall | |
| // @match *://www.google.com/recaptcha/api2/anchor* | |
| // @match *://newassets.hcaptcha.com/captcha/v1/*/static/hcaptcha-checkbox.html* | |
| // @grant none | |
| // ==/UserScript== | |
| (async () => { | |
| function whenElementReady(selector) { | |
| return new Promise(resolve => { | |
| const observer = new MutationObserver(() => { | |
| const element = document.querySelector(selector) | |
| if (element) { | |
| resolve(element) | |
| observer.disconnect() | |
| } | |
| }) | |
| observer.observe(document, { | |
| childList: true, | |
| subtree: true | |
| }) | |
| }) | |
| } | |
| if (location.hostname === "www.google.com") { | |
| // ReCAPTCHA | |
| const element = await whenElementReady("#recaptcha-anchor-label") | |
| element.innerText = "I'm not a Fortnite player" | |
| return | |
| } | |
| // hCaptcha | |
| const element = await whenElementReady("#label") | |
| setTimeout(() => { | |
| element.innerText = "I am not a Fortnite player" | |
| }, 100) | |
| })() |
"epic"??