Page 1 of 1

allow domain(s) only in specific website(s)

Posted: Mon Oct 22, 2012 11:49 pm
by n00b1ee
Can I allow, for example, googleapis.com only on techdirt.com?

Thanks in advance.

Re: allow domain(s) only in specific website(s)

Posted: Tue Oct 23, 2012 12:52 am
by therube

Re: allow domain(s) only in specific website(s)

Posted: Tue Oct 23, 2012 9:05 pm
by n00b1ee
Sorry but didn't help much.

I've tried different combinations like:

Code: Select all

Site techdirt.com
Accept from googleapis.com *.googleapis.com .googleapis.com
Also tried:

Code: Select all

 www.techdirt.com
.techdirt.com
*.techdirt.com

googleapis.com help

Posted: Tue Oct 23, 2012 9:10 pm
by n00b1ee
How to allow googleapis.com script only on www.techdirt.com?

http://noscript.net/abe/abe_rules.pdf lacks useful examples.

(reset button deleted the default ABE config... => fixed after Firefox restart)

Re: allow domain(s) only in specific website(s)

Posted: Tue Oct 23, 2012 9:34 pm
by n00b1ee
I need an example to understand this.

Re: allow domain(s) only in specific website(s)

Posted: Tue Oct 23, 2012 11:32 pm
by Thrawn
n00b1ee wrote:I need an example to understand this.
As often happens, your rule is backward...

ABE is request-oriented. You don't tell it which sites can load resources, like NoScript's usual script-blocking; you tell it which requests are allowed. 'Site example.com' means 'Requests sent to example.com'.

So, what you want is:

Code: Select all

Site .googleapis.com
Accept from .techdirt.com
Deny
Note the leading dots, which mean 'this domain and all subdomains'.

I have suggested before that a 'Request' keyword be added as an alias for 'Site', but thus far, Giorgio has had higher priorities.

Re: allow domain(s) only in specific website(s)

Posted: Wed Oct 24, 2012 4:52 am
by n00b1ee
Thank you Thrawn for the code and the explanation.

Re: allow domain(s) only in specific website(s)

Posted: Wed Nov 14, 2012 1:53 am
by n00b1ee
I'm back to tell you I've just reseted ABE rules by accident. :shock: I tried to Cancel (button) but without success.

PS: a warning before resetting rules would be great.