Stefan Hayden

Alt + Shift + Ctrl + K

Page Bookmarks for Tor HTML Online Books

Tor has put tons of awesome books online. Though I don’t really like reading books on my PC I checked out the HTML versions and was surprised there was no way to save your place.

The HTML on the pages is well formed and each page is marked off ready for bookmarking. Here is a bookmarklet to add the page numbers. When you are ready to stop reading just save the link for the page to jump back in to the book where you left off.

Drag this link: Tor HTML page numbers to your Firefox bookmark toolbar, then just click it on the HTML of a Tor book to add page numbers. Try it out on Crystal Rain by Tobias Buckell.

Here is the code:

javascript:void((function(){j=document.createElement('SCRIPT');j.src='http://code.jquery.com/jquery-latest.pack.js';document.getElementsByTagName('HEAD')[0].appendChild(j);setTimeout(function(){$('a').each(function(e){$(this).text($(this).attr('id'));$(this).attr('href','#'+$(this).attr('id'));this.style.position='absolute';this.style.left='10px';});},5000);})())

Post a Comment