4 ms·
Paste this in the js console to make the page (slightly more) readable var getScript = function(url, success) { var script = document.createElement('
by zaius 14y ago
Paste this in the js console to make the page (slightly more) readable
var getScript = function(url, success) {
var script = document.createElement('script');
script.src = url;
script.onload = success;
var head = document.getElementsByTagName('head')[0];
head.appendChild(script);
};
getScript("//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js", function() {
var wrap = function(html, tag) {
var parts = html.split('\n')
var out = '<' + tag + '>' + parts[0] + '</' + tag + '>';
out += parts.slice(1).join(' ');
return out;
}
jQuery('#content li li').html(function(i, html) { return wrap(html, 'h4'); });
jQuery('#content ul > li').html(function(i, html) { return wrap(html, 'h2'); });
jQuery('li').css('margin-bottom', 3);
jQuery('body').css('line-height', 1.5);
});