How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList

How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby diamondfrog » Tue Nov 16, 2010 12:20 am

The banner ads that show up atop every Wikipedia page now with the "Please read: A personal appeal from Wikipedia founder Jimmy Wales" drive me nuts. I tried blocking them several ways but so far have had no success. My first try only blocked the image, not the banner ad itself or the text (screenshot: link) and my second try screwed up all the Wikipedia pages (screenshot: link). I googled around for a solution but the only filter results I found to block the wiki banners are from 2007/2008 so they're outdated by now. So how can I block the Wikipedia banners once and for all?
diamondfrog
 

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby Michael » Tue Nov 16, 2010 11:22 pm

The filter ||wikipedia.org/w/index.php?title=Special:BannerController should work (https://easylist.adblockplus.org/blog/2010/11/16/wikimedia-fundraising-banners).
Michael
 
Posts: 1361
Joined: Sat Dec 19, 2009 1:29 pm

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby Wikiresu » Tue Nov 16, 2010 11:34 pm

The best I have found is a filter rule that hides the banner picture and leaves only text and a black baground. The rule is:

Code: Select all
/centralnotice/

Now that the picture is gone I can look a wikipedia page again without getting annoyed and angry.

I have donated 100USB to Wikimedia foundation before, but because of this annoying campaign I will probably not do it again. However I will continue to contribute as an editor.
Wikiresu
 

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby Michael » Tue Nov 16, 2010 11:51 pm

Taking into account all domains, I think that the filter ||wik*.org/w/index.php?title=Special:BannerController should work.
Michael
 
Posts: 1361
Joined: Sat Dec 19, 2009 1:29 pm

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby Wikiresu » Wed Nov 17, 2010 1:06 am

Almost there! The word "Special" may differ in various languages. This worked for me:
Code: Select all
||wik*.org/w/index.php?title=*:BannerController
Wikiresu
 

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby Michael » Wed Nov 17, 2010 7:05 pm

Thanks for letting me know; I have updated the blog post with the suggested filter.
Michael
 
Posts: 1361
Joined: Sat Dec 19, 2009 1:29 pm

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby NikoB » Wed Nov 17, 2010 9:51 pm

I found out that in the last version of chrome, the best expression is:

Code: Select all
*wikipedia.org/*##div[id="siteNotice"]
NikoB
 

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby Thomas » Sat Nov 20, 2010 8:23 am

How do I add that filter into chrome?
Thanks
Thomas
 

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby Moskoe » Sat Nov 20, 2010 12:49 pm

I have simply closed the banner (there is a cross in the upper right corner) and the ad is gone (and cookies added).. Does it work for you?
User avatar
Moskoe
 
Posts: 13
Joined: Tue May 11, 2010 11:57 pm

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby dotancohen » Tue Nov 23, 2010 1:48 pm

Moskoe wrote:I have simply closed the banner (there is a cross in the upper right corner) and the ad is gone (and cookies added).. Does it work for you?


It closes the banner, but on the next pageview the banner is back. We'd like to remove it permanently.

Like Wikiresu, have donated to Wikipedia in the past (twice actually, but less). But I certainly won't donate so long as that banner is there begging. In fact, one of the reasons that I stopped using GnomeDo was because of the annoying Donate button in the menu. I'd rather buy software and be done with it rather than be begged at each time I use it.
dotancohen
 
Posts: 3
Joined: Tue Nov 23, 2010 1:39 pm

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby Michael » Tue Nov 23, 2010 7:37 pm

The filter /w/index.php?title=*:bannercontroller should block the script responsible for the banner.
Michael
 
Posts: 1361
Joined: Sat Dec 19, 2009 1:29 pm

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby superlazy » Wed Nov 24, 2010 12:53 am

Thanks Michael! Your filter did the trick! That banner has been annoying me for weeks.
superlazy
 
Posts: 1
Joined: Wed Nov 24, 2010 12:52 am

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby Snappy » Thu Nov 25, 2010 12:03 pm

@autor=Snappy

i just made this script ...

next time Jimmy Wales appear copy and paste the following code in your URL and hit enter

Code: Select all
javascript:
var values = document.cookie.split('=');
for(var i = 0; i<values.length; i++){
   if(values[i]=="hidesnmessage"){
      if(values[i+1]=="10"){
         alert("No need to re-run");
         break;
      }
      alert("You are not seeing Jimmy Wales\n"
      + "run this script when he appear !");
      break;
   }else{
      void(document.cookie='hidesnmessage=10; expires=Monday, 04-Apr-2015 05:00:00 GMT');
      alert("All Done !\n"+
      "you will never see Jimmy Wales again !");
   }
}
Snappy
 

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby dotancohen » Thu Nov 25, 2010 12:27 pm

Michael wrote:The filter /w/index.php?title=*:bannercontroller should block the script responsible for the banner.


Thank you, finally!
dotancohen
 
Posts: 3
Joined: Tue Nov 23, 2010 1:39 pm

Re: How to block Wikipedia banner ad? (Appeal from Jimmy Wales)

Postby tsuchan » Thu Nov 25, 2010 2:14 pm

dotancohen wrote:
Michael wrote:The filter /w/index.php?title=*:bannercontroller should block the script responsible for the banner.


I guess it will work until somebody in Wikipedia changes that title.

In the end I made 2 rules to block all the .js files - what part of our Wikipedia user experience depends on JavaScript? I've never seen anything that needs it.

Filter:
http://wikipedia.org/*.js
http://*.wikipedia.org/*.js
tsuchan
 

Next

Return to Filters for Adblock Plus

Who is online

Users browsing this forum: No registered users and 14 guests