Skip to content

Instantly share code, notes, and snippets.

@colingourlay
Created August 2, 2010 01:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colingourlay/503999 to your computer and use it in GitHub Desktop.
Save colingourlay/503999 to your computer and use it in GitHub Desktop.
javascript:%20(function(){if(typeof%20jQuery!='undefined'){return%20run();}else{function%20getScript(url,callback){var%20script=document.createElement('script');script.src=url;var%20head=document.getElementsByTagName('head')[0],done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=='loaded'||this.readyState=='complete')){done=true;callback();script.onload=script.onreadystatechange=null;head.removeChild(script);}};head.appendChild(script);}getScript('http://code.jquery.com/jquery-latest.min.js',function%20(){return%20run();});}function%20run(){if(typeof%20jQuery!='undefined'){$jq=jQuery.noConflict();$jq('#banner').remove();$jq('#mainnav').remove();$jq('#ctxnav').remove();$jq('#prefs').remove();$jq('#altlinks').remove();$jq('#footer').remove();$jq('dt').each(function%20(){if($jq(this).find(':contains("cgourlay")').length==0){$jq(this).next().remove();}else{$jq(this).next().css('font-size','120%');}$jq(this).remove();});$jq('dd.wiki').remove();}}})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment