Bookmarklets: Google Navigation

While on my recent bookmarklet excursion, I decided to tackle a bookmarklet that I've been wanting to do for a few years now, which is to go to the next search results page in Google.

Turns out it's MUCH easier that I though to accomplish by using the DOM to grab the actual next url:

javascript:location.href=document.getElementById('nn').parentNode;

Since that was so simple, I decided to try going back to a previous resutls page. It was a matter of finding the right div ID:

javascript:location.href=document.getElementById('np').parentNode;

I have only tested these in Safari, so your mileage may vary. I have these as the third and fourth bookmarks on my bookmarks bar, so I can hit command-3 to go to previous, and command-4 to go to the next set of results.

To add these bookmarklets to your browser, simply drag the links below to your bookmarks bar:

...more entries
<- September 2010 ->
S M T W T F S

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30


Jesse.Traynham.com
π