Last active
February 5, 2026 00:05
-
-
Save plu5/c6d54d88b1c0b252b00c081b8cb67db6 to your computer and use it in GitHub Desktop.
Forvo login wall blocker userscript. Install link (requires Grease/Tamper/Violentmonkey browser extension): https://gist.githubusercontent.com/plu5/c6d54d88b1c0b252b00c081b8cb67db6/raw/forvowb.user.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Forvo login wall blocker | |
| // @namespace Violentmonkey Scripts | |
| // @match https://forvo.com/* | |
| // @grant none | |
| // @version 1.0.0 | |
| // @author plu5 | |
| https://gist.github.com/plu5/c6d54d88b1c0b252b00c081b8cb67db6 | |
| // @homepageURL https://gist.github.com/plu5/c6d54d88b1c0b252b00c081b8cb67db6 | |
| // @updateURL https://gist.githubusercontent.com/plu5/c6d54d88b1c0b252b00c081b8cb67db6/raw/forvowb.user.js | |
| // @downloadURL https://gist.githubusercontent.com/plu5/c6d54d88b1c0b252b00c081b8cb67db6/raw/forvowb.user.js | |
| // @description 16/09/2025, 12:01:35 | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| const containerSelector = '.mfp_login-register'; | |
| const findAndRemoveLoginWall = () => { | |
| const containers = document.querySelectorAll(containerSelector); | |
| for (const container of containers) { | |
| console.log('[Forvo login wall blocker] Found the login wall pop-up. Removing it.', container); | |
| container.remove(); | |
| const htmlElement = document.documentElement; | |
| if (htmlElement.style.overflow === 'hidden') { | |
| htmlElement.style.overflow = ''; | |
| console.log('[Forvo login wall blocker] Restored page scrolling.'); | |
| } | |
| break; | |
| } | |
| }; | |
| const observer = new MutationObserver(findAndRemoveLoginWall); | |
| observer.observe(document.documentElement, { | |
| childList: true, | |
| subtree: true | |
| }); | |
| findAndRemoveLoginWall(); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment