Skip to content

Instantly share code, notes, and snippets.

@ssig33
Created January 18, 2012 05:20
Show Gist options
  • Save ssig33/1631143 to your computer and use it in GitHub Desktop.
Save ssig33/1631143 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Wikipedia Hukkatsu
// @namespace http://ssig33.com/
// @description Wikipedia ga Hukkatsu Suru
// @include http://en.wikipedia.org/*
// ==/UserScript==
var wikipedia = function(){
var ns =document.querySelectorAll('div');
for(i in ns){
try{
var n = ns[i];
n.style.display = 'block';
}catch(e){
}
}
document.querySelector('#mw-sopaOverlay').style.display = 'none';
}
document.addEventListener('DOMNodeInserted', function() {
wikipedia()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment