Skip to content

Instantly share code, notes, and snippets.

View RayBB's full-sized avatar

Raymond Berger RayBB

View GitHub Profile
@RayBB
RayBB / chrome-autoscroll-bookmarklet.js
Last active February 9, 2023 18:36 — forked from lorenjohnson/chrome-autoscroll-bookmarklet.js
Auto Scroll Bookmarklet (for Chrome)
javascript:(function(window, document) {
var isScrolling, scrollTimeout;
var defaultScrollSpeed = 50;
var scrollSpeed = 50;
var adjustIncrement = 2;
var jumpIncrement = 50;
function start() {
window.addEventListener('keydown', keyPressed);
window.addEventListener('keyup', keyReleased, false);