Last active
August 29, 2021 18:25
-
-
Save shakaran/2ad17bc30589e259fc58a870acd987e6 to your computer and use it in GitHub Desktop.
Remove body overflow hidden from investing website
This file contains 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 InvestingRemoveScrollBodyBlocker | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Remove body overflow hidden | |
// @author Ángel Guzmán Maeso <[email protected]> | |
// @match https://*.investing.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Download the tampermonkey chrome extension and load this simple script + adblock rule to block popups | |
// Credits: https://stackoverflow.com/questions/51330252/how-to-remove-the-css-rule-body-overflowhidden-automatically | |
document.body.style.cssText = "visible !important"; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think there is a typo on line 15. It is missing the property key name