Live data from Hacker News

Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

github.com

121–130 of 148 posts

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#122
post #93

Earlier quoted context omitted.

In addition to the advantage of explicitly specified capabilities mentioned by others, I'd say a userscript is also much more durable and low-maintenance than a Chrome extension. This is coming from someone who's written an extension for personal use before, and had to jump through a million hoops with Chrome Dev just to give the browser permission to run my own code that I wrote myself, and that's to say nothing of…

for me on chrome (stable), all that’s needed to install my own extensions is enable Developer Mode in chrome://extensions, then load an unpacked folder as an extension

It's been a while since I've had to do this so I'd be very happy to hear if the process has become smoother since - does it no longer give you a big warning that you've got a dangerous unpacked extension installed every time you start chrome then?

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#123
post #10
post #6

This is slick. 2 things. 1. If you name your script with the extension .user.js it is easier to click on to automatically install at least with tampermonkey. 2. When I went to this link from the main page, on mobile I had to scroll to the right to see the (-) to minimize because the sidebar was too large: https://elizabethtai.com/2026/06/10/substack-writers-you-nee... It may make some sense to start minimized so I ca…

is this better than using a chrome extension? i guess people need to have tampermonkey installed and so thats a slightly higher barrier to entry? i wonder if chrome would be interested in "sherlocking" userscripts so that we can distribute non security nightmare code easier.

tampermonkey scripts works with Firefox - chrome extensions don't

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#124
post #121

Hello, Just for your information, when I open " https://claude.ai/new " the script automatically open a random article, do you know why?

There are several non-static pages that people have previously submitted to HN that can cause some strange behavior like this. In the latest version I just published (v1.4.7) I've excluded the main ChatGPT and Claude homepages (but not subpages) which should fix this bug.

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#126
post #8
post #5

Firefox has a new Split View that's useful for this, but you still have to left click and select open in split view (M) then click the link. You also used to be able on some browsers to craft a link that was href="tab1.html|tab2.html", no idea if that's still a thing or if it was limited to "home page" setting.

Vivaldi has included split view for years (called tiles). You can also right click a link and choose open in follower tab. This lets all links clicked in one tile open in another tile. I use this regularly on HN.

Way back Firefox had a Tile Tabs addon that could split tabs to arbitrary depth. "Tile Tabs WE" (WE = WebExtensions) was an attempt to replace the functionality after the Quantum change killed XUL-based addons like the original Tile Tabs, but it works by positioning whole windows.

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#127
post #56
post #5

Firefox has a new Split View that's useful for this, but you still have to left click and select open in split view (M) then click the link. You also used to be able on some browsers to craft a link that was href="tab1.html|tab2.html", no idea if that's still a thing or if it was limited to "home page" setting.

Yeah Firefox split view is useful for this. If any of those vim extensions support link+split, and allow interaction with splits that would be even better.

Apparently Firefox needs to add an API for it first: https://github.com/tridactyl/tridactyl/issues/5349

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#128
post #49

Feature 2 is really useful. When I land on a technical article I know chances are there will be a nice HN discussion, that may sometimes even refute the main point of the article. Feature 1 is IMO less useful. It just suggests that people are bad at window management. We didn't like overlapping windows and finding them, so we created tabs inside windows. Then we wanted to see two things at the same time, so we create…

I've actually created a Chrome extension for [feature 2] ages ago (mostly for myself). If the current URL is on HN - it shows it (with the number of upvotes)

https://chromewebstore.google.com/detail/hidhfijjhnnajlkikij...

Re: Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript

#129
I (very) often just read the discussion on HN and don't open the links, usually just by reading the title I know what's it about and the content I receive from the discussion here, plus I get any corrections y'all find along with needed skepticism, doubts and questions.
Post reply on HN