Skip to content

Instantly share code, notes, and snippets.

@mactkg
Last active September 27, 2017 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mactkg/242e3934043974c33c1e07ab5709ce94 to your computer and use it in GitHub Desktop.
Save mactkg/242e3934043974c33c1e07ab5709ce94 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.tumblr.com/dashboard
// @grant none
// ==/UserScript==
(function() {
'use strict';
setTimeout(function() {
// init
window.scrollTo(0, 0);
setInterval(function(s){
scrollBy(0,s||40);
},100);
}, 1000);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment