Scrollbar Fixer is a user script that restores the default functionality and appearance of scrollbars on any website. It prevents scrollbars from being hidden, overridden or manipulated by other scripts or stylesheets.
- Ensures that the document and body elements display scrollbars only when necessary
- Overrides any CSS rules that modify scrollbars
- Retrieves the current scroll position of the document element
- Blocks any scripts that attempt to scroll the window or the elements
Some websites may obscure or customize the scrollbars to reduce their usability. This script will revert the scrollbars to their original state and protect them from any interference from other sources.
-
To use this script, you need to install a browser extension that enables you to execute custom JavaScript code on any website. Some examples are Tampermonkey, Greasemonkey, or Violentmonkey.
-
Create a new script and copy the code from this repository into it. Save and activate the script.
- Alternatively, with Tampermonkey installed: navigate to https://github.com/RichKMLS/Scrollbar-Fixer/raw/main/ScrollBarFixer.user.js to instantly install.
-
Enjoy scrolling on any website.
Please note that this script may unintentionally disable certain website functions. It may be necessary to deactivate the script in order to access these features.
If you encounter any issues, suggestions, or questions about this script, please feel free to open an issue.
Scrollbar Fixer is provided "as is" without any warranty of any kind, either expressed or implied. The author is not responsible for any damages or losses that may result from using Scrollbar Fixer.
See License for more information.