L'Ombre de l'Olivier

The Shadow of the Olive Tree

being the maunderings of an Englishman on the Côte d'Azur

11 July 2007 Blog Home : July 2007 : Permalink

Handy Dandy Bookmarklets

Drag these to your personal toolbar (Seamonkey / Firefox) or Links Bar (Internet Exploder) and click on them when needed. I have put all but the first 1 in a folder on my browser but I've kept the names short (you can rename them) so that they can go on the toolbar and still leave plenty of space for other stuff.
Bookmarklet Description Example
++ Increase last number in page URL by 1 e.g. move from http://www.korval.com/fledgling/chap19web.html to http://www.korval.com/fledgling/chap20web.html
-- Decrease last number in page URL by 1 e.g. move from http://www.korval.com/fledgling/chap20web.html to http://www.korval.com/fledgling/chap19web.html
±N Add/subtract N (you are prompted) to last number in page URL e.g. enter -5 and move from http://www.korval.com/fledgling/chap20web.html to http://www.korval.com/fledgling/chap15web.html
=N Set last number in page URL to N (you are prompted) e.g. enter 13 and move from http://www.korval.com/fledgling/chap20web.html to http://www.korval.com/fledgling/chap13web.html (1)
++2 Increase penultimate number in page URL by 1 e.g. move from http://www.korval.com/fledgling/chap19web.html#part2 to http://www.korval.com/fledgling/chap20web.html#part2 (2)
--2 Decrease penultimate number in page URL by 1 e.g. move from http://www.korval.com/fledgling/chap19web.html#part2 to http://www.korval.com/fledgling/chap20web.html#part2 (2)
Go2URL Go to URL. Sometimes you find urls in forums and similar sites where the url has wrapped and the link only forms the first part.
go to http://www.korval.com/fledgling/chap20web.html when selecting
http://www.korval.com/fledgling/chap2
0web.html
Disclaimer/copyright: I got the first couple of these from Jesse Ruderman. I may have made some modifications so if you want to get the original increment and decrement bookmarklets go here. The other numerical ones are derivations of his work.

Notes:
  1. The most common use for this is to move from ...URL10.htm to ...9URL.htm as the "--" bookmarklet (and "±N" bookmarklet) preserves the overall length of the number and goes to ...URL09.htm instead.
  2. This is a fictitious example. I can't find a useful real one right now though I have used it to navigate dates in URLs (e.g. moving from ...URL/2006/06/index.htm to ...URL/2007/06/index.htm)