Remove Overflow Hidden

Remove overflow: hidden style from body on 123.com

  1. // ==UserScript==
  2. // @name Remove Overflow Hidden
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Remove overflow: hidden style from body on 123.com
  6. // @author Your Name
  7. // @match *://*.yyk07.com/*
  8. // @grant none
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. function removeOverflowHidden() {
  17. var body = document.querySelector('body[style*="overflow: hidden;"]');
  18. if (body) {
  19. body.style.overflow = '';
  20. // clearInterval(checkInterval);
  21. }
  22. }
  23.  
  24. // Run the function every 500ms until the condition is met
  25. var checkInterval = setInterval(removeOverflowHidden, 500);
  26. })();