Page Overscroll

creates element to make page overscrollable.

  1. // ==UserScript==
  2. // @name Page Overscroll
  3. // @namespace -
  4. // @version 0.4
  5. // @description creates element to make page overscrollable.
  6. // @author NotYou
  7. // @include *
  8. // @compatible Chrome 4.0
  9. // @compatible Edge 9.0
  10. // @compatible Firefox 3.5
  11. // @compatible Safari 3.2
  12. // @compatible Opera 9.6
  13. // @grant none
  14. // @license GPL-3.0
  15. // ==/UserScript==
  16.  
  17. /*
  18.  
  19. ﹀ Change Log ﹀
  20.  
  21. 0.4 Version:
  22. - jQuery to Pure JS
  23.  
  24. 0.3 Version:
  25. - Anti Feauture Information
  26. - Less CSS
  27.  
  28. 0.2 Version:
  29. - Less usseless text in CSS
  30. - Shorter HTML code
  31. - Compatible info
  32.  
  33. */
  34.  
  35. document.querySelector('body').insertAdjacentHTML('beforeend',`
  36. <div id=overscroll><style>
  37. #overscroll {padding: 0px 0px 100%}
  38. </style></div>
  39. `)