Jesse TraynhamA mixed bag of FileMaker, Lasso, AppleScript, Photography, web designing, and more... |
||||||||||||||||||||||||||||||||||||||||||||||||||
Bookmarklets: Google NavigationWhile 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: |
|
|||||||||||||||||||||||||||||||||||||||||||||||||