Hacker News new | ask | show | jobs
by lucb1e 4520 days ago
Quick heads up: make Javascript listen for keystrokes of ctrl+0 and other zoom events, and submit them to some counter. Perhaps I'm not the only one trying to unzoom the website; the header and lead take up the whole screen on a full hd screen. The rest of the font size seems okay at first glance.

Edit: Then I realized this is a UX guide. Ironic.

Edit2: And then I read through it, it is actually pretty nice! Read a few pages and bookmarked where I left off, thanks for sharing :)

1 comments

I have a nice little bookmarklet that works wonders:

    javascript:(function(){var%20newSS,%20styles='*%20{%20font-size:16px%20!important;%20}';%20if(document.createStyleSheet)%20{%20document.createStyleSheet("javascript:'"+styles+"'");%20}%20else%20{%20newSS=document.createElement('link');%20newSS.rel='stylesheet';%20newSS.href='data:text/css,'+escape(styles);%20document.getElementsByTagName("head")[0].appendChild(newSS);%20}%20})();
Basically it changes all font sizes to 16px, which I find suitable for my configuration. YMMV. I usually use it when the fonts are too small. And I have another one which colors the text black, background white and links blue - but in this case that was not necessary.