Hide Scrollbars

Make all scrollbars invisible on websites

  1. // ==UserScript==
  2. // @name Hide Scrollbars
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @license CC BY-NC
  6. // @description Make all scrollbars invisible on websites
  7. // @author Unknown Hacker
  8. // @match *://*/*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. const style = document.createElement('style');
  16. style.textContent = `
  17. ::-webkit-scrollbar {
  18. display: none;
  19. }
  20. * {
  21. scrollbar-width: none;
  22. -ms-overflow-style: none;
  23. }
  24. `;
  25. document.head.appendChild(style);
  26. })();