Skip to content

Instantly share code, notes, and snippets.

@youpy
Created August 3, 2008 22:36
Show Gist options
  • Save youpy/3845 to your computer and use it in GitHub Desktop.
Save youpy/3845 to your computer and use it in GitHub Desktop.
// ==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