Google +1 surrogate

Bug reports and enhancement requests
Post Reply
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Google +1 surrogate

Post by al_9x »

Code: Select all

user_pref("noscript.surrogate.plusone.sources", "apis.google.com/js/plusone.js");
user_pref("noscript.surrogate.plusone.replacement", "gapi=function(){if(typeof Proxy==='undefined'){var f=arguments.callee;return f.__noSuchMethod__=f.plusone=f;}var p=Proxy.createFunction({get:function(proxy, name){return name in Object.prototype?Object.prototype[name]:p;}},function(){return p;});return p;}();");
needed by http://www.usopen.org/en_US/index.html
Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20100101 Firefox/7.0
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Google +1 surrogate

Post by dhouwn »

But not for pre-Firefox-4 and pre-SeaMonkey-2.1 users.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: Google +1 surrogate

Post by al_9x »

dhouwn wrote:But not for pre-Firefox-4 and pre-SeaMonkey-2.1 users.
Why not?
Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20100101 Firefox/7.0
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Google +1 surrogate

Post by dhouwn »

Sorry, was supposed to be a question rather than a statement.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0a2) Gecko/20110827 Firefox/8.0a2
Benning
Posts: 4
Joined: Thu Sep 22, 2011 1:27 am

Re: Google +1 surrogate

Post by Benning »

Hello,

I'm an old user of NoScript and new user of the forum.

Where i'm suposse to "write" this surrogate ? In about:config ?

I have searched the forums and didn't find the answer.
Thank you in advance
Mozilla/5.0 (Windows; U; Windows NT 6.1; es-AR; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: Google +1 surrogate

Post by al_9x »

It has already been included, otherwise, the form in the first post is meant for user.js
Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20100101 Firefox/7.0
Benning
Posts: 4
Joined: Thu Sep 22, 2011 1:27 am

Re: Google +1 surrogate

Post by Benning »

Thank you !! I check about:config and is already there. No need to create the user.js

I've already ask in this post, but I will ask again here so more people can see the answer if you don't mind. With this, are you preventing your data for being send to google.com ?

Thanks in advance and greetins from Argentina.
Mozilla/5.0 (Windows; U; Windows NT 6.1; es-AR; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22
Post Reply