Skip to content

Instantly share code, notes, and snippets.

@plu5
Created January 19, 2026 17:36
Show Gist options
  • Select an option

  • Save plu5/c6d54d88b1c0b252b00c081b8cb67db6 to your computer and use it in GitHub Desktop.

Select an option

Save plu5/c6d54d88b1c0b252b00c081b8cb67db6 to your computer and use it in GitHub Desktop.
greasemonkey forvo login wall blocker userscript
// ==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