h2g2 Bookmarklets

1 Conversation

Bookmarklets are pieces of javascript code which run directly from a bookmark/favorite. They are extremely useful for executing code which can be applied to many different pages. General bookmarklets may be found on this site. The following are bookmarklets made for h2g2 as well as how to use them.

Instructions

Instructions vary depending on browser and operating system:

Internet Explorer

Mac: Go to Favorites -> Organize Favorites -> New Favorite. Copy to name to the "name" box and the code to the "address" box.

The Bookmarklets

Go to Entry

Asks for a DNA URL (e.g., A123456, U123456, PeerReview), then takes you there.

javascript:{void(url=prompt('Enter%20h2g2%20URL:',''))}if(url)void(location.href='http://www.bbc.co.uk/dna/h2g2/'+escape(url))

Override Submit Safety

Tricks any form on h2g2 (postings, update entry, etc.) into thinking that you haven't clicked either the preview or post/update button, allowing you to click it again. Useful when you change your mind about something you've written or when the next page fails to load. NOTE: using this bookmarklet with "Post to Conversation" forms may result in doubleposting. Even if the browser hasn't displayed the post yet, if the server has been contacted, it has probably gotten the post.

javascript:void(submit=0)

Search the Guide

Asks for search terms, then searches the Guide for them. Works exactly like the search box at the top of every page of the Guide. Useful for searching when browsing other websites. Advanced search coming soon.

javascript:{void(term=prompt('Enter%20search%20terms:',''))}if(term)void(location.href='http://www.bbc.co.uk/dna/h2g2/classic/Search?searchstring='+escape(term)+'&searchtype=goosearch')

Bookmark on your Personal Space


Entry

A691625

Infinite Improbability Drive

Infinite Improbability Drive

Read a random Edited Entry


References

External Links

Not Panicking Ltd is not responsible for the content of external internet sites

Disclaimer

h2g2 is created by h2g2's users, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the Not Panicking Ltd. Unlike Edited Entries, Entries have not been checked by an Editor. If you consider any Entry to be in breach of the site's House Rules, please register a complaint. For any other comments, please visit the Feedback page.

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more