Live data from Hacker News

Show HN: Orange Juice – Small UX improvements that make HN easier to read

oj-hn.com

141–150 of 165 posts

Re: Show HN: Orange Juice – Small UX improvements that make HN easier to read

#141
This is pretty darn cool. i've not yet seen any mention of one particular quirk so will point it out: on Firefox it flashes between "normal" and "upgraded" mode pretty starkly (A) when switching pages and (B) when tapping "add comment" (which is apparently done via page reload rather than the HN API). i've no clue whether an extension/app has any influence over the timing of that so cannot suggest how it might be resolved, but will say that it's particularly jarring.

Re: Show HN: Orange Juice – Small UX improvements that make HN easier to read

#142

Lots of nice tweaks, but the most important is missing: the ability to move the collapse comment buttons (`[-]`) to the left of commenters' usernames. Doing this makes the collapse buttons all aligned with each other, making them far easier to click in succession. "Comments Owl for Hacker News" extension does this I believe.

The grey bar on the left that the extension adds also collapses the comments. They are aligned vertically and they have a bigger clickable area than [-].

Re: Show HN: Orange Juice – Small UX improvements that make HN easier to read

#143

Lots of nice tweaks, but the most important is missing: the ability to move the collapse comment buttons (`[-]`) to the left of commenters' usernames. Doing this makes the collapse buttons all aligned with each other, making them far easier to click in succession. "Comments Owl for Hacker News" extension does this I believe.

but then the upvote button is too close to the collapse thread, plus, why make it easier to hide discussion? => makes it easier for scripts to automate by visual/x,y placement

Re: Show HN: Orange Juice – Small UX improvements that make HN easier to read

#144

Earlier quoted context omitted.

Dang your comment excites me to think that Hackernews can have dark mode in future. Aside from all of this AI hype, This is the feature I am most excited about xD! Dang, genuine question but when you moderate/view Hackernews yourself, I suppose that you must yourself be using dark mode too correct? or do you view hackernews in light-mode?

Out of interest, why do you suppose that?

Oh, I had thought that when dang said somethings took 15 years and pow they happened, maybe my interpretation was that dark mode is definitely something which can occur within the future in a similar fashion.

Re: Show HN: Orange Juice – Small UX improvements that make HN easier to read

#145
post #91

Earlier quoted context omitted.

custom CSS is the way. I don't believe HN will ever adopt dark mode. But the site is so stripped down it's easy to write custom dark mode for it.

Stylus is great for this kind of thing - it's basically Tampermonkey but for site-level CSS overrides. https://addons.mozilla.org/en-US/firefox/addon/styl-us/

Thanks for this! I've been using it for less than a minute, and it has already exceeded my expectations:

Installed, opened the raw view in the GitHub link to the dark mode style linked to above to copy it into the clipboard, and was pleasently surprised that it opened in the extension with syntax highlighting and a button to install.

Clicked "Install", back back to HN, reload, dark mode.

Re: Show HN: Orange Juice – Small UX improvements that make HN easier to read

#146

Earlier quoted context omitted.

Stylus is great for this kind of thing - it's basically Tampermonkey but for site-level CSS overrides. https://addons.mozilla.org/en-US/firefox/addon/styl-us/

Thanks for this! I've been using it for less than a minute, and it has already exceeded my expectations: Installed, opened the raw view in the GitHub link to the dark mode style linked to above to copy it into the clipboard, and was pleasently surprised that it opened in the extension with syntax highlighting and a button to install. Clicked "Install", back back to HN, reload, dark mode.

Cheers! I feel like the vast majority of extensions could be rewritten as either TamperMonkey or Stylus scripts.

I’m always leery of installing new extensions (nothing against Orange Juice) because of all the high-profile cases where they get bought out by unscrupulous companies and basically turn into malware payload delivery systems.

It’s nice to be able to reduce the attack surface down to just these two extensions, which have been around for a long time.

Re: Show HN: Orange Juice – Small UX improvements that make HN easier to read

#147

Earlier quoted context omitted.

Stylus is great for this kind of thing - it's basically Tampermonkey but for site-level CSS overrides. https://addons.mozilla.org/en-US/firefox/addon/styl-us/

Thanks for this! I've been using it for less than a minute, and it has already exceeded my expectations: Installed, opened the raw view in the GitHub link to the dark mode style linked to above to copy it into the clipboard, and was pleasently surprised that it opened in the extension with syntax highlighting and a button to install. Clicked "Install", back back to HN, reload, dark mode.

Side note: enable the Stylus "Instant inject mode" option to prevent light mode HN from briefly flashing when loading or changing pages.

Re: Show HN: Orange Juice – Small UX improvements that make HN easier to read

#148

Earlier quoted context omitted.

Thanks for this! I've been using it for less than a minute, and it has already exceeded my expectations: Installed, opened the raw view in the GitHub link to the dark mode style linked to above to copy it into the clipboard, and was pleasently surprised that it opened in the extension with syntax highlighting and a button to install. Clicked "Install", back back to HN, reload, dark mode.

Cheers! I feel like the vast majority of extensions could be rewritten as either TamperMonkey or Stylus scripts. I’m always leery of installing new extensions (nothing against Orange Juice) because of all the high-profile cases where they get bought out by unscrupulous companies and basically turn into malware payload delivery systems. It’s nice to be able to reduce the attack surface down to just these two extension…

I agree, though I use Violentmonkey instead of Tampermonkey because open source, and uBlock Origin because rewriting it as a *monkey script is somewhere between "Implement a MIDI Machine Control interface to my turntable" and "Rewrite FreeBSD in Rust" on my project list.

Re: Show HN: Orange Juice – Small UX improvements that make HN easier to read

#150

Earlier quoted context omitted.

Cheers! I feel like the vast majority of extensions could be rewritten as either TamperMonkey or Stylus scripts. I’m always leery of installing new extensions (nothing against Orange Juice) because of all the high-profile cases where they get bought out by unscrupulous companies and basically turn into malware payload delivery systems. It’s nice to be able to reduce the attack surface down to just these two extension…

I agree, though I use Violentmonkey instead of Tampermonkey because open source, and uBlock Origin because rewriting it as a *monkey script is somewhere between "Implement a MIDI Machine Control interface to my turntable" and "Rewrite FreeBSD in Rust" on my project list.

Haha yeah - same I only run three extensions (uBlock Origin, Stylus, and Tampermonkey) but I'll be swapping over to violentmonkey [1]. Thanks for the recommendation - didn't realize there was a FOSS equivalent.

https://github.com/violentmonkey/violentmonkey

Post reply on HN