Created
January 19, 2026 17:36
-
-
Save plu5/c6d54d88b1c0b252b00c081b8cb67db6 to your computer and use it in GitHub Desktop.
greasemonkey forvo login wall blocker userscript
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 | |
| // @author - | |
| // @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