TIL
Scrolling bookmarklets
11.01.2024Bookmarklets are nice to make small tiny utilities. They are bookmarks that contain javascript code prefixed with javascript:
. The javascript code will run every time the bookmarklet is clicked.
These bookmarklets will scroll 500px up and down and are nice to have when some page disables the scrolling for some reason. Typical example is when showing ad blocker warning modal.
Up: javascript:window.scrollTo(0, window.scrollY - 500);
Down: javascript:window.scrollTo(0, window.scrollY + 500);