News for hackers. Stuff that matters.
Re:How I do my computing by Symbiote on Sunday May 17, 2015 @07:41PM (#9562216)
A little Javascript bookmarklet should do that nicely. I'll write one tomorrow, if I don't find one.
Re:How I do my computing by dzhiurgis on Monday May 18, 2015 @07:11AM (#9563734)
I was experimenting with HN and for some reason this only works in console

> javascript:document.getElementById("hnmain").width="50%"

Re:How I do my computing by dzhiurgis on Tuesday May 26, 2015 @07:42PM (#9608384)
Can't edit old comment. Made it work as a bookmarklet with following code:

javascript:(function(){document.getElementById("hnmain").width="50%"})();

Re:How I do my computing by Buge on Sunday May 17, 2015 @09:09PM (#9562438)
You had better license it as free software.
Re:How I do my computing by Symbiote on Monday May 18, 2015 @07:59AM (#9563886)
Is CC0 OK?

http://git.io/vTmEc

I'm not sure if HN will accept the link:

<a onclick="alert('Drag this link to your bookmarks bar'); href="javascript:(function(){var body = document.getElementsByTagName('body')[0];var style = body.style;var ss = [55,34,21,13,8];var sx = ('bodyMaxWidthIndex' in body) ? body.bodyMaxWidthIndex : 1;style.setProperty('max-width', ss[++sx % ss.length]+'cm', 'important');style.setProperty('line-height', '1.5');style.setProperty('margin-left', 'auto');style.setProperty('margin-right', 'auto');style.setProperty('font-family', 'sans-serif');body.bodyMaxWidthIndex = sx;})();">&#x2192;&#x1f5ba;&#x2190;</a>