Created
August 3, 2008 22:36
-
-
Save youpy/3845 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 pretty printed grdii | |
// @namespace http://d.hatena.ne.jp/koyachi/ | |
// @description | |
// @include http://youpy.jottit.com/grd* | |
// @require http://gist.github.com/raw/2040/ae6c51aa5fb11eeab8e4a970102077333f5a3d06 | |
// ==/UserScript== | |
// | |
// 2008-07-23 t.koyachi | |
// inspired by http://twitter.com/hysysk/statuses/866034698 | |
(function(){ | |
var htmContent = $X('id("content")/p')[0].innerHTML.split(/=/).join(" / "); | |
document.getElementById('wrapper').innerHTML = | |
['<div id="content" style="background:#B8BAB7;color:#FFFFFF;font-weight:bolder;padding:1em;line-height:1.08em;margin:0">', | |
htmContent, | |
].join(''); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment