Allowing bookmarklets to work while NoScript is enabled

The NoScript extension is fantastic at enhancing one’s security while browsing. Sure, it’s a bit of pain to get used to needing to allow scripts for new websites visited (temporarily or permanently). But I wanted to use bookmarklets to post selected stuff in my Dokuwiki with the dokubookmark plugin.

The problem was, every time I hit the bookmarklet, The window popped up but instead of content, I got an error from NoScript saying that ABE had prevented the request. I wish I had looked at the message a little closer to begin with, because it was telling me the problem from the start. Specifically, what I’d missed at first was that it actually reports the rule that caused the failure. filtered by ABE: <LOCAL> Deny I had already tried adding rules to allow GET to my Dokuwiki instance, but I missed that ABE failed on the same rule (LOCAL) each time.

Finally, I smacked my forehead and put my rule above the LOCAL entry in the NoScript config, and all was well in the world again. Here is my rule:

You’ll most likely need to add an exclusion in XSS config as well.

Author: Charlie Herron

Denizen of Portland, Maine; tech jack; lover / hater / whatever; philosophical dabbler. http://twitter.com/realgeek