Code: Select all
Site *.google.com
Accept from SELF
Deny
For example, if google.com tries to load something from googleapis.com, how can I allow google.com to ONLY make an exception for this domain?
Thanks!
Code: Select all
Site *.google.com
Accept from SELF
Deny
Code: Select all
Site .google.com .googleapis.com
Acccept from .google.com
Deny
Thanks! So, if I need to add another exception for google.com, I just need to add another site after .googleapis.com, like:Tom T. wrote:Code: Select all
Site .google.com .googleapis.com Acccept from .google.com Deny
Code: Select all
Site .google.com .googleapis.com .anothersite.com
Acccept from .google.com
Deny
Yes.netsecure wrote:Thanks! So, if I need to add another exception for google.com, I just need to add another site after .googleapis.com, like:Is this correct?Code: Select all
Site .google.com .googleapis.com .anothersite.com Acccept from .google.com Deny
You're very welcome.netsecure wrote:Thanks again!
Code: Select all
Site .test.com
Accept from .test.com
Deny
Code: Select all
Site .test.com
Accept from .test.com
Deny INCLUSION
Code: Select all
Site .test.com
Accept from SELF
Deny
Code: Select all
Site .test.com
Accept from SELF
Deny INCLUSION
Hi again, Tom...Tom T. wrote:At the risk of stating the obvious, is "Enable ABE" checked in NS Options > Advanced > ABE?
Can you provide a specific site, and the rule(s) that fail? - or where all of the above rules fail?
I'll probably be online a bit later to try them, but in general, the first one looks good.
Please keep in mind that using method types like INCLUSION will block *only* inclusion sub-requests, and not top-level script loads, as per the ABE Rules .pdf. Edit: n/m, you seem to have that concept, in allowing the top scripts but not the inclusions. (This is what happens when hungry. I'll be sharper after dining, thanks.)
Code: Select all
<script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
Correct.ABE is independent from NoScript and the whitelist, right? So, ABE should work regardless of the other settings in NoScript?
Code: Select all
Site .addthis.com .google.com .google-analytics.com .5min.com .googlesyndication.com
Accept from z9hser.drhpoeyt
Deny
Code: Select all
http://pagead2.googlesyndication.com/pagead/show_ads.js
Code: Select all
http://s7.addthis.com/js/152/addthis_widget.js
Code: Select all
[ABE] <.addthis.com .google.com .google-analytics.com .5min.com .googlesyndication.com> Deny on {GET http://www.addthis.com/bookmark.php <<< http://www.articlecity.com/articles/computers_and_internet/article_6263.shtml - 6}
USER rule:
Site .addthis.com .google.com .google-analytics.com .5min.com .googlesyndication.com
Accept from z9hser.drhpoeyt
Deny
Code: Select all
http://pshared.5min.com/scripts/PlayerSeed.js
Code: Select all
http://www.google.com/friendconnect/script/friendconnect.js
Code: Select all
http://www.google-analytics.com/ga.js
Code: Select all
# This one allows Facebook scripts and objects to be included only
# from Facebook pages
Site .facebook.com .fbcdn.net
Accept from .facebook.com .fbcdn.net
Deny INCLUSION(SCRIPT, OBJ, SUBDOC)
If any such are in your whitelist, including the Default Whitelist, remove them. The remainder will be blocked by NoScript's default-deny policy.netsecure wrote:Actually, I don't want to allow any of those scripts from executing on that page (or any page).
Per Rule 1.3 in the .pdf, could you please try using SELF++ instead of SELF?netsecure wrote:I'm just trying to block ALL 3rd party scripts, while ONLY allowing scripts from the same domain (and perhaps a few exceptions like googleapis.com).
I've tried every combination, and nothing seems to work.![]()
I read the ABE documentation at: http://noscript.net/abe/
At the bottom of the page it uses this example:
It still doesn't work.Code: Select all
# This one allows Facebook scripts and objects to be included only # from Facebook pages Site .facebook.com .fbcdn.net Accept from .facebook.com .fbcdn.net Deny INCLUSION(SCRIPT, OBJ, SUBDOC)
My pleasure. We'll get this solved.netsecure wrote:Thank you very much for your help and effort! I really appreciate it.
Maybe I'm misunderstanding, but do you actually want something like this?netsecure wrote:Hi Tom...
Actually, I don't want to allow any of those scripts from executing on that page (or any page).
I'm just trying to block ALL 3rd party scripts, while ONLY allowing scripts from the same domain (and perhaps a few exceptions like googleapis.com).
I've tried every combination, and nothing seems to work.![]()
Code: Select all
Site *
Accept from SELF++
Deny
Regardless of whether this is done with ABE or with RequestPolicy, it still doesn't address the increasing use of secondary servers for more-or-less static content, as in my previous post.Thrawn wrote:In plain English: every site is allowed to send requests only to itself and other subdomains of the same parent domain.....