Bookmarklet Firefox



I maintain a bookmarklet that people use as an aid with the site http://nbviewer.ipython.org. The bookmarklet simply looks at the user's current URL and then opens a new tab if the current URL parses to something that will work on nbviewer. As of Firefox 21 this bookmarklet doesn't work on https:// sites such as GitHub. It works on http:// sites and everything works fine in Chrome. Text of bookmarklet is at https://github.com/jiffyclub/open-in-nbviewer/blob/master/bookmarklet/nbviewer_bookmarklet.js. Is there anything I can do to get this working for people?

  1. Create Bookmarklet Firefox
  2. Plugin Firefox Download

According to the Mozilla wiki bookmarklets should be unaffected by browser security settings: https://wiki.mozilla.org/Security/CSP/Specification#Non-Normative_Client-Side_Considerations.

Bookmarklet Firefox

Create Bookmarklet Firefox

Here's an example where the bookmarklet will work:http://iupr1.cs.uni-kl.de/~tmb/ncso/00-introduction.ipynb

A bookmarklet is a 'one-click' tool which adds functionality to the browser, such as modifying the appearance of a web page, querying a search engine with search terms provided by previously selected text, or submitting the current page to a translation or blogging service. How bookmarklets are different from extensions? Bookmarklets are tools - do not concern yourself with their code, relax and see what they can do. You can always find additional bookmarklets with Google Searches. You can drag a single bookmarklet to your bookmarks toolbar or any bookmark folder. (Link for importing bookmarks (bml.html)for bookmarklets you see here.). I wrote a little bookmarklet that works great in firefox, trying to use it in Chrome and not having any luck. Just tried out a stub bookmarklet javascript:alert('wtf'); which works fine in Firefox but not at all in Chrome. Trying to pick apart a couple of my pre-installed Chrome Bookmarklets and can't figure out why they run and mine don't. On the other hand, a bookmarklet written for Firefox is very likely to work with Safari or IE. Some add-ins can break (or won’t install at all) if you try installing them on a newer version of the browser. And this is a big problem considering that new browser patches are released every couple of months.

Plugin Firefox Download

And here's one where it won't:https://raw.github.com/jiffyclub/ipythonblocks/master/demos/Firework.ipynb