I'm using NoScript's implementation of ABE in order to allow certain CDNs only from their relevant sites. To do this, I have rules such as these:
Code: Select all
Site o.aolcdn.com
Accept from www.shoutcast.com
Accept from s.aolcdn.com
Deny INCLUSION(SCRIPT)
Site s.aolcdn.com
Accept from www.shoutcast.com
Accept from o.aolcdn.com
Deny INCLUSION(SCRIPT)
As I understand it, this should allow me to use the scripts hosted on o.aolcdn.com and s.aolcdn.com on
www.shoutcast.com and allow scripts from either to include scripts from the other, and deny any other sites from including scripts hosted on the CDN (but allow other things like images). All three sites (I generally allow sites by base 2nd level domains) are allowed in NoScript. However, these rules aren't working as expected; when I go to
http://www.shoutcast.com/ in my browser, I get messages like this in my log and the scripts don't run:
Code: Select all
[ABE] <s.aolcdn.com> Deny INCLUSION(SCRIPT) on {GET https://s.aolcdn.com/os/aol/jquery-1.7.1.min.js <<< http://o.aolcdn.com/os/aol/jquery-1.7.1.min.js, http://www.shoutcast.com/ - 2}
USER rule:
Site s.aolcdn.com
Accept from www.shoutcast.com
Accept from o.aolcdn.com
Deny INCLUSION(SCRIPT)
I'm not altogether sure why I'm having problems, and I'm guessing there's something I'm not understanding. Can anybody help me work out what's wrong? Thanks.
