Here is the script in question:
http://a248.e.akamai.net/www.crutchfiel ... alytics.js
The Crutchfield site will not work unless a248.e.akamai.net is allowed. But allowing akamai white lists the GoogleAnalytics script. If NoScript can allow akamai but still block this specific GoogleAnalytics script, I assume NoScript's surrogate will run and prevent any problems?
Can ABE provide this functionality? I've played around inputting this script into ABE in various ways. But nothing I've tried has produced the desired outcome.
Way to block a specific script from an allowed host?
Way to block a specific script from an allowed host?
Last edited by barbaz on Wed Feb 25, 2015 8:49 pm, edited 1 time in total.
Reason: fix link
Reason: fix link
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Re: Way to block a specific script from an allowed host?
Does this work?
EDIT Oh, and no NoScript's GA surrogate won't run in place of that, unless you go to about:config and change the value of "noscript.surrogate.ga.sources" to
Code: Select all
Site ^https?://.*/GoogleAnalytics\.js
Deny
Code: Select all
*.google-analytics.com ^https?://.*/GoogleAnalytics\.js
*Always* check the changelogs BEFORE updating that important software!
-
Re: Way to block a specific script from an allowed host?
This did not work. But it was very helpful nonetheless. I am still trying to get the hang of regex. So I will continue to play with this and see if I can get it working.barbaz wrote:Does this work?EDIT Oh, and no NoScript's GA surrogate won't run in place of that, unless you go to about:config and change the value of "noscript.surrogate.ga.sources" toCode: Select all
Site ^https?://.*/GoogleAnalytics\.js Deny
Code: Select all
*.google-analytics.com ^https?://.*/GoogleAnalytics\.js
Thanks!
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Re: Way to block a specific script from an allowed host?
This tutorial may help you.tarjk wrote:I am still trying to get the hang of regex.
*Always* check the changelogs BEFORE updating that important software!
-