4 ms·
There is a GM script that does this (PRE-fix), but with javascript: http://userscripts.org/scripts/show/25039 http://userscripts.org/scripts/show/25039 I tried
by Xichekolas 18y ago
There is a GM script that does this (PRE-fix), but with javascript: http://userscripts.org/scripts/show/25039 http://userscripts.org/scripts/show/25039
I tried with CSS alone, but as I recall it was inconsistent in multiple browsers, so went with js.
- jrockway 18y agoOK. The CSS I have on my blog seems to handle long code snippets pretty well, but I can't explain how it works, since I just ported a Typo theme. Regardless, it seems possible. Someone that actually has a clue about CSS and/or Javascript should submit a patch to fix HN :) (Unfortunately, I do not have said clue.)