Very impressive and very clean. I’ve set up many user scripts for websites I browse for all of my devices. User scripts are indispensable to me. Two quirks: 1. In Safari on my iPad, “add comment” is invisible, since it still uses the white font from vanilla HN. I’ve fixed this by adding “color: #333;” just below your existing “background-color: white;” 2. There seems to be no way to indicate if I have already read a…
Show HN: I built a Hacker News userscript to make this site more legible
11–20 of 53 posts
Re: Show HN: I built a Hacker News userscript to make this site more legible
#12:root { color-scheme: light dark; }
* { background-color: revert !important; color: revert !important; font-size: revert !important; }
center { text-align: left !important; }
table#hnmain { width: 100% !important; }
Re: Show HN: I built a Hacker News userscript to make this site more legible
#13Re: Show HN: I built a Hacker News userscript to make this site more legible
#14I suggest Violentmonkey (open source) over Tampermonkey (proprietary).
Re: Show HN: I built a Hacker News userscript to make this site more legible
#15Felt the same way but took it a step further and designed a whole new front-end[0] so that it was easier to use on modern large format screens (and added some things like dark mode).
Re: Show HN: I built a Hacker News userscript to make this site more legible
#16Btw thanks for the script, the alternating colours between comments and replies should be part of the standard hacker news experience, thanks for adding that.
Re: Show HN: I built a Hacker News userscript to make this site more legible
#17Looks good, might you consider crossposting it on https://greasyfork.org/ ? I suggest Violentmonkey (open source) over Tampermonkey (proprietary).
Re: Show HN: I built a Hacker News userscript to make this site more legible
#18This is below the minimum required level to conform to the Contrast and Color Accessibility requirements of the WCAG... a pity! See [2]. The minimum contrast is recommended to be 4.5:1.
The comments (below the main post text) text colour is black (#000000) and that has good contrast - it reaches level AAA in the WCAG guidelines, which is the best rating. Unfortunately as mentioned by OP downvotes faint the colour of the text!...
[1] https://www.accessibilitychecker.org/color-contrast-checker/
Re: Show HN: I built a Hacker News userscript to make this site more legible
#19The background of the center section of Hacker News is #F6F6EF. The colour of the main text of a post is #828282, which results on a contrast ratio of 4:1 (calculated here [1]). This is below the minimum required level to conform to the Contrast and Color Accessibility requirements of the WCAG... a pity! See [2]. The minimum contrast is recommended to be 4.5:1. The comments (below the main post text) text colour is b…
Accessibility is important!...