<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=7625526986034013157&amp;blogName=Tim%2C+the+Enchanter&amp;publishMode=PUBLISH_MODE_HOSTED&amp;navbarType=BLUE&amp;layoutType=CLASSIC&amp;searchRoot=http%3A%2F%2Ftim.theenchanter.com%2Fsearch&amp;blogLocale=en&amp;homepageUrl=http%3A%2F%2Ftim.theenchanter.com%2F" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" allowtransparency="true" title="Blogger Navigation and Search"></iframe> <div></div>

About

I'm a ruby developer passionate about developing clean code that makes for programming happiness. I'm also am passionate about freedom, liberty, and capitalism, and enjoy jamming out some good rock or jazz on the piano.

I'm a family man and a I'm a member of The Church of Jesus Christ of Latter Day Saints (AKA the "Mormons") and I wield a strong testimony of my Savior Jesus Christ (yes we're Christians).

I'm currently employed by:

Autoscroll in Safari, Firefox

The Autoscroll Bookmarklet

Bookmarklets are actually a cool little concept – make a link that runs a JavaScript command and inject code into any web-page. Brilliant! Combine this with an obsessive computer nerd with some free time on a Saturday evening (for example, me), and you get following:

AutoscrollThe Bookmarklet

Works in Safari and Firefox. If you’re lucky it might work in Opera, Camino, and Konqueror. If you’re at least as lucky as this guy, it might work in IE.

Usage

Click the really big link above to activate auto-scroll (you may want to make your window small enough to have significant scroll space

Here’s the buttons to push:

0-9 : Set scroll speed, 0 being stand-still and 9 being skim-speed
: Decrease speed
= : Increase speed
shift + – : Decrease speed quickly
shift + = : Increase speed quickly
q : Quit

Installation:

If you’d like to pack this sweet action with you, drag the “Autoscroll” link to your bookmarks tool bar.

You can leave your response or bookmark this post to del.icio.us by using the links below.
Comment | Bookmark | Go to end
  • Blogger TheStandUpPhysicist says so:
    November 17, 2008 8:55 PM  

    Nice. I wasted a few hours trying to get firefox or opera to scroll for a telepromter. Now I can click and go, while adjusting on the fly using a keyboard. top

  • OpenID hand2mouth says so:
    May 6, 2009 9:07 AM  

    Thank you! Since I can't use a mouse, Firefox's native autoscroll function is inaccessible to me. But now I can click the link with Mouseless Browsing, and there it goes. Beats losing a keyboard key to an AutoHotKey script. top

  • Blogger Tim Harper says so:
    May 6, 2009 9:20 AM  

    Hey, I'm certainly glad you found it useful! Thanks for stopping by :)

    I saw your post about Dragon's inability to middle click... bummer. I'm a big fan of DNS myself, and am considering either buying MacSpeech, or upgrading to 10 and staying with Parallels. How do you like DNS 10? top

  • Blogger pope52 says so:
    May 13, 2009 8:29 AM  

    FYI, this script has saved me from tendonitis. I use it daily. Thank you. top

  • Blogger goborobo says so:
    June 7, 2009 1:19 AM  

    Thanks. Really useful. top

  • Blogger jonathan says so:
    June 19, 2009 6:06 PM  

    Gracias Awesome setup/play...

    -jmnoq top

  • Blogger Angela says so:
    August 28, 2009 3:01 PM  

    This is great. Thanks so much! top

  • Blogger yamamoto says so:
    September 17, 2009 10:02 PM  

    What a good bookmarklet it is! But it doesn't work in iPhone safari. Prease make it for iPhone!!! top

  • Blogger David says so:
    October 1, 2009 1:27 AM  

    I was looking for a way to slow down auto scrolling using a mouse and found this site. This is exactly what I wanted but using the keyboard. I see lots of queries regarding this but no similar answers for mouse control. Thanks for your efforts. There is obviously a need for this to read on line.
    Dave top

  • Blogger Tom says so:
    December 9, 2009 12:24 PM  

    Tim,

    I use your this bookmarklet daily and was curious how to modify the code such as to set a new default scroll speed.

    Thanks for making this available.

    Best,
    Tom top

  • Blogger Tim Harper says so:
    December 9, 2009 1:34 PM  

    Hey Tom,

    The source code is in there. It's a bit encoded, but with a little bit of effort you could decode it easily. Then search for a bookmarklet encoder to encode it back up again.

    The speeds are there at the top. It's an array of [pixels to move, delay between movements]. It's using a logarithmic scale, doubling the amount of pixels and the delay every time the delay goes below 25 (browsers tank at that threshold). top

  • Blogger Tom says so:
    December 9, 2009 1:56 PM  

    Found it. Somehow I'd missed ss_speed variable in the URL encoding, so I wasn't understanding how you set the default scroll value.

    To those who want to do likewise, just change "ss_speed=1" to whatever predefined speed you want. The number corresponds to the scroll speed key you'd press on your keyboard.

    Best,
    Tom top

  • Blogger Weeb says so:
    December 16, 2009 10:47 AM  

    Esc does not seem to work. 0 stops scrolling. Esc does nothing. Not sure what it's supposed to do. Running Snow Leopard, Safari, on a Mac Pro. top

  • Blogger Tim Harper says so:
    December 16, 2009 10:49 AM  

    hmm... it used to :S Maybe Safari changed the keycode sent by escape.

    At any rate, been thinking about mapping it to Q as well. top

  • Blogger decaturcomp says so:
    December 17, 2009 10:29 AM  

    Nicely done. Tweeted and FBed. top

  • Blogger Doc says so:
    January 2, 2010 10:52 AM  

    Brilliant! What an incredible time saver. Used in conjunction with Readability (both recommended by ScreenCastsOnline's Don McAllister) your service is truly enchanting. top

  • Blogger EverEvolving says so:
    January 19, 2010 9:53 AM  

    Please help me out.I've been enjoying using this bookmarklet! My question is, how do I start scrolling without using the mouse? I was searching for the answer to that, to no avail...Mouseless Browsing does not help with a bookmark...or, at least I could not find how to do that... Anyone, help me start scrolling with keyboard? top

  • Blogger Tim Harper says so:
    January 19, 2010 10:04 AM  

    @everevolving:

    You could just assign a keyword to it: just open the bookmarks manager, select your bookmark in the bookmark toolbar folder, expand the little arrow to get more options, and type "as" under "keyword".

    With this setting, whenever you type in "as" in the address bar, auto scroll will get invoked.

    There may be a better solution, like some Firefox plug-in that enables you to set hotkeys to bookmarks, but without any additional extensions, this should do the job and allow you to activate it without having to use the mouse. top

  • Blogger cotcaro says so:
    January 29, 2010 5:34 PM  

    Hello Tim,

    Can I use this script in a Firefox Add-on? Also could you contant me via cotcaro (at) gmail . com top

  • Blogger Elke says so:
    February 12, 2010 3:58 AM  

    I love this. Thanks to 30DCplus for this great tip top