[IPython-dev] Github - IPy Notebook button

Thomas Kluyver takowl at gmail.com
Wed Jun 19 16:51:27 EDT 2013


Hi Bartosz,

On 19 June 2013 20:10, Bartosz <mail at telenczuk.pl> wrote:

> I found that the nbviewer bookmarklet by Matt Davis does not work any
> more with recent Firefox (v21) due to content security policy (CSP).
> Therefore I decided to convert it to Greasemonkey script, which is not
> affected by CSP.


Can you clarify why it's not working? Can it be fixed? I can't imagine
Firefox has broken all bookmarklets, and I don't think nbviewer requires
any very special features from the browser's point of view.

> The script works with Github repositories. In the GH file browser, it
> adds a button to the toolbar (next to Raw and History buttons) if the
> viewed file is an ipython notebook (with .ipynb extension). Clicking on
> the button opens the notebook in NBViewer.

That's pretty neat as well - thanks!

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130619/1f47196f/attachment.html>


More information about the IPython-dev mailing list