I have lately been trying to allow certain scripts only for certain sites via NoScript ABE. Specifically, I want to:
- Allow some scripts from Google everywhere
- Allow some scripts from Google only on Google's sites (e.g. for Google drive/docs)
- Allow scripts from Facebook only on Facebook
I can't get any of these to work. I'm fairly certain Facebook should because I took the example almost directly from NoScripts documentation on Abe:
Site .facebook.com .fbcdn.net .akamaihd.net Accept from .facebook.com .fbcdn.net .akamaihd.net Deny INCLUSION(SCRIPT, OBJ, SUBDOC)
The only change I've made is to add .akamaihd.net, though it doesn't work without that either. Here is a screenshot of my settings in case I've done something really dumb like put it in the wrong section:
Creating a fresh Firefox profile, installing NoScript and trying the rules there has the same result so I don't think the issue is another addon or a Firefox misconfiguration. I am running 64 bit Firefox 35.0.1 on Fedora 21.