SHARE
TWEET

Remove Wikipedia Donations

cdolphin Nov 20th, 2011 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @match http://*.wikipedia.org/*
  3.  
  4. // ==/UserScript==
  5. //A quick script to hide that annoying request for donations on wikipedia
  6. //I mean who actually wants to give money anyways?
  7. //But actually, donate once, then install this :-)
  8. //written by Cory dolphin @wcdolphin
  9.  
  10.  
  11. location.href = "javascript:(" + function() {
  12.     if(document.getElementById('centralNotice'))
  13.     {
  14.     if(this.hideBanner)
  15.         this.hideBanner();
  16.     }
  17. } + ")()";
  18.  
  19.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top