Scroll To Images

2009-06-09 20:20 - Bookmarklets

It's been a long time since I've posted a new bookmarklet! I've finally come up with an itch that needed scratching, though. Every once in a while, you'll come across a "gallery" of images, simply posted one-after-the-other in a giant column on one page. They're hard to browse, because they're never the same height as your browser window, so you end up seeing them by halves, or flicking the scroll wheel endlessly. This little script will find all the images (over 100x100 pixels in size, to skip things like bullets and headers) and scroll to each one in order, each time you click it. Much better viewing!

Scroll To Images

Comments:

New version!
2010-03-16 19:29 - arantius

This is a bit of a dirty hack, but it works. This one looks for header tags just before the image, and scrolls to that instead. Helps see what the image is, for sites with real heading tags.

Scroll To Images

Post a comment:

Username
Password
  If you do not have an account to log in to yet, register your own account. You will not enter any personal info and need not supply an email address.
Subject:
Comment:

You may use Markdown syntax in the comment, but no HTML. Hints:

  • An empty line between text will create a paragraph boundary.
  • Use angle braces around a plain URL to auto-link it: <http://www.example.com/>.
  • Use this format to create a link with different text showing: [An Example](http://www.example.com/).
  • Use backticks (``), not leading spaces to enclose a code block.

If you are attempting to contact me, ask me a question, etc, please send me a message through the contact form rather than posting a comment here. Thank you. (If you post a comment anyway when it should be a message to me, I'll probably just delete your comment. I don't like clutter.)