Do surrogates work for all websites?
-
Al1949
Do surrogates work for all websites?
Hi all, hope you can assist.
Noscript version 2.6.8.19, Firefox 28.0, Linux PC.
I've come across a website - gridreferencefinder.com - that refuses to work fully unless I allow Google Adsense (googlesyndication.com). The website should show maps from Bing (virtualearth.net), but with googlesyndication blocked, there is just a blank space where the map should appear.
To exclude any interaction with other extensions, eg. Adblock Plus, Ghostery, RequestPolicy, I tried setting up a brand new Firefox profile with just Noscript, but this didn't help: still need to allow googlesyndication.
Perhaps I've overlooked something obvious (won't be the first time).
On the subject of other extensions, I can't work out whether Ghostery is required when using both Noscript and RequestPolicy.
Regards,
Al
Noscript version 2.6.8.19, Firefox 28.0, Linux PC.
I've come across a website - gridreferencefinder.com - that refuses to work fully unless I allow Google Adsense (googlesyndication.com). The website should show maps from Bing (virtualearth.net), but with googlesyndication blocked, there is just a blank space where the map should appear.
To exclude any interaction with other extensions, eg. Adblock Plus, Ghostery, RequestPolicy, I tried setting up a brand new Firefox profile with just Noscript, but this didn't help: still need to allow googlesyndication.
Perhaps I've overlooked something obvious (won't be the first time).
On the subject of other extensions, I can't work out whether Ghostery is required when using both Noscript and RequestPolicy.
Regards,
Al
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
Re: Do surrogates work for all websites?
Weird. Very weird.
Went there in Fx 17esr, initially got what you described. Then it worked regardless of whether googlesyndication was allowed.
Went there again in SeaMonkey 2.26a2, and it worked allowing googlesyndication.com but leaving it blocked in ABP. Did not work with googlesyndication forbidden.
IOW, the site doesn't actually require the googlesyndication script (show_ads.js only) in order to work properly, so whatever's going on here seems to be a NS problem.
Went there in Fx 17esr, initially got what you described. Then it worked regardless of whether googlesyndication was allowed.
Went there again in SeaMonkey 2.26a2, and it worked allowing googlesyndication.com but leaving it blocked in ABP. Did not work with googlesyndication forbidden.
IOW, the site doesn't actually require the googlesyndication script (show_ads.js only) in order to work properly, so whatever's going on here seems to be a NS problem.
It's mostly redundant, but if its blacklist is easily searchable, then that could be useful when trying to decide what to allow in NS/RP.Al1949 wrote:On the subject of other extensions, I can't work out whether Ghostery is required when using both Noscript and RequestPolicy.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26a2
-
Hecuba's daughter
- Senior Member
- Posts: 93
- Joined: Mon Oct 01, 2012 6:34 am
Re: Do surrogates work for all websites?
nvm
Last edited by Hecuba's daughter on Sun Jun 22, 2014 8:03 pm, edited 1 time in total.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
-
Al1949
Re: Do surrogates work for all websites?
Thanks for your replies, barbaz and Hecuba's daughter.
I've been using that website for some time, and it is only relatively recently that the problem has arisen. I also find that it is necessary to allow googlesyndication in Adblock and Ghostery (but not in RequestPolicy) in order for the site to work (again only recently). Perhaps the people who run the site (or virtualearth) are doing their best to defeat any ad-blocking attempts.
Yes, I've noticed that the site's behaviour is somewhat erratic: for example, setting an ABE rule to allow googlesyndication sometimes works, sometimes not.
Thanks again.
Regards,
Al1949
I've been using that website for some time, and it is only relatively recently that the problem has arisen. I also find that it is necessary to allow googlesyndication in Adblock and Ghostery (but not in RequestPolicy) in order for the site to work (again only recently). Perhaps the people who run the site (or virtualearth) are doing their best to defeat any ad-blocking attempts.
Yes, I've noticed that the site's behaviour is somewhat erratic: for example, setting an ABE rule to allow googlesyndication sometimes works, sometimes not.
Thanks again.
Regards,
Al1949
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
Re: Do surrogates work for all websites?
You can't *allow* content via an ABE rule. Can you show us what you've written?Al1949 wrote: Yes, I've noticed that the site's behaviour is somewhat erratic: for example, setting an ABE rule to allow googlesyndication sometimes works, sometimes not.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
-
Al1949
Re: Do surrogates work for all websites?
Thanks for your reply, Thrawn.
This does seem to work instead instead of an 'allow' or 'temporary allow', but as mentioned, erratically.
I did think that using an ABE rule was equivalent to restricting an 'allow' to just a few websites rather than all. Noscript is quite complicated for the average user, so I've probably misunderstood the purpose of ABE.
Regards,
Al
Thrawn wrote:You can't *allow* content via an ABE rule. Can you show us what you've written?
Code: Select all
Site .googlesyndication.com
Accept from .gridreferencefinder.com .virtualearth.net
Deny
I did think that using an ABE rule was equivalent to restricting an 'allow' to just a few websites rather than all. Noscript is quite complicated for the average user, so I've probably misunderstood the purpose of ABE.
Regards,
Al
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
Re: Do surrogates work for all websites?
Almost. What you need to do is put that rule in place, then permanently allow googlesyndication.com. The ABE rule will ensure that although Google Syndication is allowed, no other sites are allowed to use it.Al1949 wrote: This does seem to work instead instead of an 'allow' or 'temporary allow', but as mentioned, erratically.
No, you still have to Allow things separately. However, ABE then lets you control the boundaries of what 'Allow' means.I did think that using an ABE rule was equivalent to restricting an 'allow' to just a few websites rather than all.
Actually, ABE was primarily designed not to restrict undesirable websites (like ads), but to protect sensitive websites (like your bank). The canonical example is something like this:Noscript is quite complicated for the average user, so I've probably misunderstood the purpose of ABE.
Code: Select all
Site .bank.com
Accept from SELF
Deny
However, the flexibility of ABE means that it can be used for other purposes too.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
-
Al1949
Re: Do surrogates work for all websites?
Thanks, Thrawn, for your most helpful reply. I now have a much better idea how to use ABE.
Going back to my original query about Surrogates, I've found that the website will also work OK if I allow google-analytics.com instead of googlesyndication.com. So it looks like that the GA surrogate isn't working either for this particular website.
Looking at the Surrogate Quick Reference page http://hackademix.net/2011/09/29/script ... -reference , it states ' runs only if page is script allowed', which I interpret as meaning that 'gridreferencefinder.com' must be allowed: which it is (as is 'virtualearth.net'). There are no other websites listed in the drop-down menu as needing to be 'allowed'. Is my interpretation correct, or am I missing something?
Also it seems that I now don't need to allow either GA or Gs in Adblock, just as reported by Barbaz. Weird - I wonder what will happen when I next use the site.
Regards,
Al
Going back to my original query about Surrogates, I've found that the website will also work OK if I allow google-analytics.com instead of googlesyndication.com. So it looks like that the GA surrogate isn't working either for this particular website.
Looking at the Surrogate Quick Reference page http://hackademix.net/2011/09/29/script ... -reference , it states ' runs only if page is script allowed', which I interpret as meaning that 'gridreferencefinder.com' must be allowed: which it is (as is 'virtualearth.net'). There are no other websites listed in the drop-down menu as needing to be 'allowed'. Is my interpretation correct, or am I missing something?
Also it seems that I now don't need to allow either GA or Gs in Adblock, just as reported by Barbaz. Weird - I wonder what will happen when I next use the site.
Regards,
Al
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
Re: Do surrogates work for all websites?
It's not a surrogate problem because I had issues even after setting about:config -> noscript.surrogate.enabled;false .Al1949 wrote:Going back to my original query about Surrogates, I've found that the website will also work OK if I allow google-analytics.com instead of googlesyndication.com. So it looks like that the GA surrogate isn't working either for this particular website.
Yes, because the surrogate is taking the place of the blocked script (which wouldn't run anyway if JS is disabled).Al1949 wrote:Looking at the Surrogate Quick Reference page http://hackademix.net/2011/09/29/script ... -reference , it states ' runs only if page is script allowed', which I interpret as meaning that 'gridreferencefinder.com' must be allowed: which it is (as is 'virtualearth.net'). There are no other websites listed in the drop-down menu as needing to be 'allowed'. Is my interpretation correct,
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20140330 Firefox/31.0 SeaMonkey/2.28a1
-
Al1949
Re: Do surrogates work for all websites?
Thanks for the additional info, barbaz.
So it looks like the best way for now is to use an 'allow' for either GS or GA, together with a suitable ABE rule. Perhaps a future version of Noscript will provide a better solution to the problem.
Thanks to everyone who has taken the time to reply to this thread. I'll look out for any further contributions to it.
Regards,
Al
I must admit that it never occurred to me to test what would happen if 'surrogates' was disabled.It's not a surrogate problem because I had issues even after setting about:config -> noscript.surrogate.enabled;false .
So it looks like the best way for now is to use an 'allow' for either GS or GA, together with a suitable ABE rule. Perhaps a future version of Noscript will provide a better solution to the problem.
Thanks to everyone who has taken the time to reply to this thread. I'll look out for any further contributions to it.
Regards,
Al
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0