Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Since javascript in bookmarklets of firefox 13 is no longer working, is there another method to implement a button that calls org-protocol and gives over the url and the title of the actual webpage.

share|improve this question
Huh? Bookmarklets still work in Firefox 13 if they are stored as bookmarks. Only running them from the address bar has been disabled some time ago to make it harder for worms spreading through social engineering. – Gurken Papst Jul 13 '12 at 16:40
So can you tell me where and how do I have to store the "javascript:location.href='org-protocol..."-command exactly. – testphys Jul 13 '12 at 16:56
Show all Bookmarks (Ctrl+Shift+B), select folder (e.g. Bookmarks Toolbar), click Organize->New bookmark... and enter your javascript URI in the address field. You can also test your code in the web/error console. – Gurken Papst Jul 13 '12 at 21:07
javascript:location.href='org-protocol://store-link://'+encodeURIComponent(loca‌​tion.href) is working here as expected (exception is NS_ERROR_UNKNOWN_PROTOCOL) from console and bookmarks toolbar. See if it still happens for you if you create a new Firefox profile or run it in safe mode. – Gurken Papst Jul 13 '12 at 22:18
Thank you very much for the help. I was totally wrong about javascript no longer working in FF13. So I tried a little bit for my self and now I think the problem is encodeURIComponent(location.href). javascript:location.href='org-protocol://capture://p/'+encodeURIComponent(locat‌​ion.href)+'/'+encodeURIComponent(document.title)+'/'+encodeURIComponent(‌​tSelection()) is running for example if I replace encodeURIComponent(location.href). – testphys Jul 13 '12 at 23:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.