Blocking Google Plus One

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
maxxyme
Posts: 22
Joined: Sun Aug 27, 2006 9:54 pm

Blocking Google Plus One

Post 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>
Last edited by maxxyme on Thu Jul 28, 2011 11:51 am, edited 1 time in total.
User avatar
fanboy
Posts: 3446
Joined: Sun Jun 17, 2007 4:45 am
Contact:

Re: Blocking Google Plus One

Post by fanboy »

Correct format,

Code: Select all

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

Code: Select all

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