Page 1 of 1

Blocking Google Plus One

Posted: Thu Jul 28, 2011 11:40 am
by maxxyme
I'm quite a newbie in forging filter rules; until now I only relied on the EasyList + FR subscription (participating to it on the forums) and also adding from time to time quite easy filter rules for the websites I commonly use.

But now I'm trying to go deeper with the options "script" and "third-party", and willing to block those annoying Like/Tweet/+1 widgets buttons that clutter more & more the web.

My question is: why does this rule:
||google.com/*/plusone
work but not:
||google.com/*/plusone^$script
I also tried changing to third-party or script,third-party but that doesn't work.

Generated HTML code is:

Code: Select all

<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

Re: Blocking Google Plus One

Posted: Thu Jul 28, 2011 11:45 am
by fanboy
Correct format,

Code: Select all

||google.com^*/plusone$script
or preferably..

Code: Select all

||google.com^*/plusone$third-party