Better HN
topnewbestaskshowjobs
Log inSign up

sjdz

797 karma · joined Nov 20, 2021 (5y ago) · 45 submissions

Submissions

comment 4y ago · link · parent

Yeah that makes sense. I'll add a setting to move vote icons to the left. Thanks.

comment 4y ago · link · parent

That's awesome, works really well! Good luck with it :)

comment 4y ago · link · parent

It's in the user menu (icon top right). If you mean for your own comments, that's a bug and will be fixed in the next update.

comment 4y ago · link · parent

Good idea, I will add that to a future version. Thanks!

comment 4y ago · link · parent

Thanks for the feedback, glad you like it :) Will add tooltips to icons in the next update + fix that 100% width bug too.

comment 4y ago · link · parent

Thanks for the feedback. I'm going to make the space in the comment header clickable to collapse/expand, which will reduce the distance a bit. Would that work for you?

The other alternative might be to add a setting to move the collapse/expand arrow to be part of the icons on the right.

comment 4y ago · link · parent

It's a nice idea! One consideration would be how to grab the html of the pages. In my experience, using either fetch() or an ajax request often runs into problems with CORS etc on the destination site blocking the request.

Maybe there's a better way someone knows for extensions to grab remote html without running into these problems?

The alternative would be for the extension to grab the html via API from a crawler running on a server (or SaaS), which should work pretty well.

comment 4y ago · link · parent

Thanks, glad to hear it helps :) Good point, they should be separate settings. I'm going to add more theme adjustment settings in future updates to solve that.

comment 4y ago · link · parent

Yeah forgot to add visited link color, it's coming in the next update :)

comment 4y ago · link · parent

Thanks, glad you're enjoying it :) Good suggestions, I will try to make the commenting process clearer, and add a favorite icon to the lists too.

comment 4y ago · link · parent

Hmm, this seems to be because of Google's new policy for verifying extensions. The domain (modernhn.com) hasn't been used for an extension before, so it needs to be around for a few months with a good track record to be verified. Their page [1] says:

> For new developers, it will take at least a few months of respecting these conditions to qualify.

Modern for Wikipedia [2] already meets those standards, and has the relevant badges, so I guess it'll just take some time for those to be approved and for the "Enhanced Safe Browsing" warning to be removed.

[1] https://developer.chrome.com/docs/webstore/discovery/#publis...

[2] https://chrome.google.com/webstore/detail/modern-for-wikiped...

comment 4y ago · link · parent

- Good point, I'll add a setting in the next update to always show icons.

- Parent / context are in the menu just to keep the design clean. But I understand that's not what everyone wants, so I will add a setting to show these with the other icons, instead of in the menu.

- Prev / next are moved to the "control pad" (pro feature), but my intention is for the free version to support all current HN features, so I will add those back in the next update.

- The permission to firebase is to access the HN API [1] to grab user profile info etc. The other is for the pro upgrade using ExtPay [2]

[1] https://github.com/HackerNews/API

[2] https://github.com/glench/ExtPay

comment 4y ago · link · parent

Yeah I missed that, first thought was efficient performance!

comment 4y ago · link · parent

Thanks for the feedback, glad you like it!

- Will definitely add tooltips and have a think about how to make the reply process clearer.

- I'd like to make the top nav customizable at some point, so when I do I'll add options for the account sections (threads etc). Will add a setting to show karma next to the user icon too.

- Yeah a couple of others have requested that too. The next logical step is a theme editor, which would allow changing border colors etc. It's on the TODO :)

- Yes that should be there, will add it back in the next update.

comment 4y ago · link · parent

Thanks for the suggestions, glad you like it.

The theme settings (font size/width/line height) apply to the current view. So you can setup the style separately for each of the 3 views: story pages + index pages (list or table view).

I'll add all this info to the help section shortly.

Will also add tooltips to the sliders (with current value) in the next update + a reset button :)

comment 4y ago · link · parent

Good point, I'll add prev / next back in the next update. They've been moved to the "control pad" (pro feature) in the extension, but my intention is for the free version to support all current HN features.

comment 4y ago · link · parent

Thanks! Yeah I forgot that, will add a setting in the next update to change the color of visited links.

comment 4y ago · link · parent

Thanks :) Yes the plan is definitely to add more font selection, including Verdana for the classic look!

I'd like to eventually add a full theme editor to change all aspects of the UI.

comment 4y ago · link · parent

Thanks :) Will add the comment score. Clicking the header to collapse is a good idea, I'll get that working too.

comment 4y ago · link · parent

Cool ideas! It would definitely be possible to build in a cloud sync feature at some point to enable those features.

comment 4y ago · link · parent

Looks like that's a bug, sorry about that. Will be fixed in the next update.

For reference, in the Pro version you can set the storage for your favorites to private (local browser storage) or public (HN profile). It's currently set to private storage for free users, but should be set to public (to save to your HN profile).

comment 4y ago · link · parent

Good idea, thanks, I'll add that in the next version.

comment 4y ago · link · parent

It's possible, but as I mentioned in another comment, building this as an extension has some added benefits [1].

> that way I don't have to bloat the browser's start-up time and don't have to "worry" about this extension spying on other websites, even though I realize it's unlikely

No need to worry about that, as it's limited by the permissions specified in the extension manifiest. So this extension can only access news.ycombinator.com and extensionpay.com to facilitate the Pro upgrade.

[1] https://news.ycombinator.com/item?id=32769145

comment 4y ago · link · parent

Thanks for the heads up, will fix that in the next update.

comment 4y ago · link · parent

Will do, thanks.

comment 4y ago · link · parent

Good point, I'll add tooltips to the next version.

comment 4y ago · link · parent

Thanks, glad you like it :)

comment 4y ago · link · parent

There's some overhead, but not much. It basically just parses the underlying HTML as soon as it's loaded, then redraws it with added features.

Also no heavy frameworks used, just basic hand-coded JS + jquery + a few helper libraries (luxon for dates etc)

comment 4y ago · link · parent

It applies -webkit-font-smoothing to anti-alias the fonts.

comment 4y ago · link · parent

The extension uses ExtensionPay [1] to accept payments via Stripe for the Pro upgrade. It's open source and created by HN user Glench [2].

[1] https://github.com/glench/ExtPay

[2] https://news.ycombinator.com/user?id=glench

12