Page 1 of 1

Block Google+1 (Google Plus One) in sites

Posted: Thu Sep 22, 2011 1:47 am
by Benning
Hello,

I'm looking for a way to block the "+1" button of Google in all pages except .google.com with ABE.

I have searched the forums and didn't find the answer that I'm looking for :(. Please excuse me if this was already answered.

Thanks in advance and greetins for Argentina.

Re: Block Google+1 (Google Plus One) in sites

Posted: Thu Sep 22, 2011 1:56 am
by al_9x
Site apis.google.com/js/plusone.js
Accept INC from .google.com
Deny INC

Re: Block Google+1 (Google Plus One) in sites

Posted: Thu Sep 22, 2011 2:00 am
by Benning
Thank you so much, it works perfectly.

If i'm logged in gmail (Google Acount) and I visit site1.com... With this ABE rule, i'm preventing my data for being send to google ?

Re: Block Google+1 (Google Plus One) in sites

Posted: Thu Sep 22, 2011 2:36 am
by al_9x
The rule as you can see is specific to the plus one script, it will prevent sites other than .google.com from loading it. You can modify it to block everything (or whatever) from .google.com if that's what you want, "Site .google.com"

Re: Block Google+1 (Google Plus One) in sites

Posted: Tue Jan 17, 2012 3:20 pm
by donde
I came across this thread and I seem to be having a problem that's the opposite of what the original poster wants. I can only use the +1 button on the Google+ site and it doesn't work for me on any other site. I'm only having this problem in Aurora (v.11.02a). I'm a noob when it comes to ABE and/or any NS modifying so if you can help, please explain carefully. I tried to come up with some ABE lines that may work, but nothing has worked for me. So, any help would be appreciated! Thanks in advance.

Re: Block Google+1 (Google Plus One) in sites

Posted: Wed Jan 25, 2012 8:14 am
by Tom T.
donde wrote:I came across this thread and I seem to be having a problem that's the opposite of what the original poster wants. I can only use the +1 button on the Google+ site and it doesn't work for me on any other site. I'm only having this problem in Aurora (v.11.02a). I'm a noob when it comes to ABE and/or any NS modifying so if you can help, please explain carefully. I tried to come up with some ABE lines that may work, but nothing has worked for me. So, any help would be appreciated! Thanks in advance.
If you wish to allow apis.google.com at all sites, no need for ABE. Just whitelist it.

If it's only the button that you want to allow *everywhere*, modify al_9x's rule as follows:

Code: Select all

Site apis.google.com/js/plusone.js
Accept INC 
The ALL (from all) is implied by the lack of anything after the Accept command, as well as by the lack of a Deny command.