4 ms·
my default zoom is 150%. this breaks a lot of websites. but maybe they don't care about accessibility anyway. like OP said, i have not had any issue with HN for
by blondin 7y ago
my default zoom is 150%. this breaks a lot of websites. but maybe they don't care about accessibility anyway. like OP said, i have not had any issue with HN for years.
i recently started keeping dev tools's console open when i am using chrome. i have some JS to collapse comments here on HN.
i have seen some interesting things in the console, i just keep it opened now:
- some sites have st tons of JS errors and yet function as normal
- some companies put job ads in there for JS people (medium is doing it right now)
- some libraries show off their awesome ASCII logos in the console
- debug statements are left there unintentionally (i wonder if there is no tool that could strip these out)
- Deimorz 7y agoDoes your JS do something differently than HN's native comment-collapsing? You can just click the "[-]" at the end of each comment's "header".
- zamadatix 7y agoWhat sites does zoom break? I've been on a 2x DPI screen for years and never noticed anything. The web is pretty good about this, even "pixels" are actually just length units not physical pixels.
- GoblinSlayer 7y agoVery few work correctly with zoom. One of them is http://motherfuckingwebsite.com/ http://motherfuckingwebsite.com/ And text has nothing to do with pixels, it's not raster.
- zamadatix 7y agoCan you give an example of one that works poorly with zoom? Like I said literally all of the browsing I've done in the last couple of years on my work PC has been with 200% zoom and I've never noticed a site be broken/different to my 100% setup. I suppose if you have e.g. a 720p screen and do 200% zoom you might run into some problems but that's got little to do with zoom and more to do with the lack of space on your screen to put content anymore.
- GoblinSlayer 7y agoYC, reddit, wikipedia, github, SO (very horrible), all google sites. Lack of space is not really a thing for html, rarely a page fits on screen without scroll and wrap.