How to impliment surrogates.

Proposals for new surrogate scripts, updates/bug fixes to existing ones, tips and tricks to work around the lazy web.
Post Reply
grossdm
Posts: 1
Joined: Tue Dec 03, 2013 4:15 pm

How to impliment surrogates.

Post by grossdm »

Hello everyone,

I think I understand the concept with script surrogates, but I don't know whether I'm supposed to tell NS to allow or block the site.
An obvious example would be Google Analytics. For the surrogate to work properly, do I need to "allow" google-analytics.com or "block" it?

Thanks for helping with this basic issue.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: How to impliment surrogates.

Post by barbaz »

*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:37.6) Gecko/25272270 Firefox/37.6 SeaMonkey/8.24.9a1pre
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: How to impliment surrogates.

Post by Giorgio Maone »

zurkan wrote:I'm supposed to tell NS to allow or block the site.
An obvious example would be Google Analytics. For the surrogate to work properly, do I need to "allow" google-analytics.com or "block" it?
It's blocked by default, so just keep it blocked. The surrogate will detect the loading attempt and run instead of the blocked script.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: How to impliment surrogates.

Post by barbaz »

Giorgio, that's just quote spam...
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply