Advertisement
KillianMills

scroller.js

May 5th, 2015
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Killian's scroller
  3. // @require      http://
  4. // @require      https://
  5. // @namespace    http://your.homepage/
  6. // @version      0.3
  7. // @description  autoscroller for displaying the correct part of the page
  8. // @author       Killian Mills
  9. // @match        http://www.imdb.com/
  10. // @grant        none
  11. // ==/UserScript==
  12.  
  13. //setInterval(window.onload = function()
  14. setInterval(function()
  15.             {
  16.        
  17.         // scroll 500 on the y axis, leave x axis as is
  18.                 window.scrollTo(0, 500);
  19.                          
  20.             }, 5000); // 25 minutes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement