Guest User

Untitled

a guest
Feb 27th, 2023
542
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript: (function() {
  2.     (function() {
  3.         var i, elements = document.querySelectorAll('body *');
  4.         for (i = 0; i < elements.length; i++) {
  5.             if (getComputedStyle(elements[i]).position === 'fixed') {
  6.                 elements[i].parentNode.removeChild(elements[i]);
  7.             }
  8.         }
  9.     })();
  10.     document.querySelector('body').style.setProperty('overflow', 'auto', 'important');
  11.     document.querySelector('html').style.setProperty('overflow', 'auto', 'important');
  12. })()
  13.  
  14.  
  15. // URL encoded
  16. javascript:(function()%7B(function%20()%20%7Bvar%20i%2C%20elements%20%3D%20document.querySelectorAll('body%20*')%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20elements.length%3B%20i%2B%2B)%20%7Bif%20(getComputedStyle(elements%5Bi%5D).position%20%3D%3D%3D%20'fixed')%20%7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)();document.querySelector('body').style.setProperty('overflow','auto','important');%20document.querySelector('html').style.setProperty('overflow','auto','important');%7D)()
Advertisement
Add Comment
Please, Sign In to add comment