Last week I made a Chrome extension that opens your current page in nbviewer. This isn’t ideal, though, since it is limited to people who use Chrome. Today I learned about bookmarklets, which are little bits of JavaScript that live in browser bookmarks (thanks Ethan). The Chrome extension is just a little bit of JS so it was easy to adapt into a bookmarklet. To use this bookmarklet just make a new bookmark (call it whatever you want) and copy this code into the URL field. Once you have the bookmark just click on it while you are on any page that can be loaded by nbviewer.
Hi !
The link in the post still references the old version :-)
Fixed, thanks!
[…] ← Previous […]
Hi, It seems that the bookmarklet stopped working with recent version of FF (v21). For details, see the thread on ipython mailing list: http://thread.gmane.org/gmane.comp.python.ipython.devel/10606
I saw that. It appears to be a bug in Firefox, hopefully it’ll be fixed soon.
I hope so too :) Meanwhile it is possible to use a greasemonkey script instead. I posted an example which works with github here: https://gist.github.com/btel/5813784. It is based on your bookmarklet.