Created
July 28, 2010 16:45
-
-
Save shinmai/495222 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name NAReadability | |
// @namespace http://script.nar | |
// @description Make NaR.com a bit more readable | |
// @include http://notalwaysright.com/* | |
// ==/UserScript== | |
var cont = document.getElementById('left'); | |
var body = document.getElementsByTagName('body')[0]; | |
var navi = document.getElementsByClassName('wp-pagenavi')[0]; | |
body.innerHTML = null; | |
cont = body.appendChild(cont); | |
cont.style.width = '790px'; | |
cont.style.margin = '0 auto'; | |
cont.style.cssFloat = 'none'; | |
body.style.backgroundImage = 'none'; | |
body.style.fontSize = '2.5em'; | |
body.style.lineheight = '1em'; | |
cont.replaceChild(navi.cloneNode(true), cont.firstChild); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment