Advertisement
cdolphin

Remove Wikipedia Donations

Nov 20th, 2011
132
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.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement