30 comments

  • kccqzy 2 hours ago
    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 created split views inside tabs (Chrome and Firefox both had this). With a good window manager neither would be necessary. Sadly the community prefers to solve this at the application level rather than the desktop level; I'm currently using Forge (https://github.com/forge-ext/forge) but sadly it's becoming unmaintained.

    • ta8903 30 minutes ago
      Not sure if I agree about using windows instead of tabs. I have hundreds of tabs open, and dozens loaded, at any moment. I'm sure that it's possible to manage all the context with separate windows via a window manager, but it would have to be a REALLY good window manager to be able to provide equivalent features of tree style tabs and separate panes and whatever else that something like Sidebery provides, and it is always easier for each application developer to implement tabs suitable for that application's requirements.
  • est 20 minutes ago
    This is how reddit supposed to be. A universal comment box for del.icio.us
    • parpfish 12 minutes ago
      I’d love if there were different “layers” of meta discussion on top of everything on the web. Every blog and website would have an untold number of communities having discussions that are completely optional for you to view.

      Instead of browsing across sites, you’d be browsing across communities seeing the same site.

  • perpil 6 hours ago
    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 can read the article first, but I can easily modify the script to do that.

    • swyx 6 hours ago
      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.
      • noncovalence 5 hours ago
        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 the whole mess with manifest v3 as well. Throughout the entire time I've been able to happily keep using userscripts written by myself or others with 0 maintenance required.
      • twalichiewicz 6 hours ago
        Mostly transparency. Since this runs across pages you visit (with the sites controlled by the @include/@exclude rules at the top of the script), I like that the entire source is right there and easy to inspect before installing it.

        A userscript also let me iterate quickly without dealing with extension packaging and permissions, but being able to see and tweak the code was a big part of the appeal.

      • perpil 6 hours ago
        Tampermonkey isn't better than using a Chrome extension, but it's less friction for a developer to build and distribute a cross browser script. If they build it as an extension, they need to target multiple browsers and get it deployed to the Firefox/Chrome web store.
        • moritzwarhier 5 hours ago
          If you can read JS and the user script is not huge, I think it makes a huge difference.

          Apart from that, there are APIs exclusive to extensions, e.g. instrumenting client-side communication among tabs with different origins, listing all tabs, basically accessing a special API that sits on a higher-level context, and, while gating certain functionality behind user approval, and forbidding other functionality completely (at least in Manifest 3.0), extensions with the corresponding permissions can do more than a script running in the page context. They can inject these as well, though, even overriding CSP sometimes, as far as I know?

          The main problem with these permissions, and WebExtension 3.0 partly was an attempt to improve this, or at least claims it: most people give a second of doubt at best when installing an extension, as long as they think it comes from a trusted source.

        • grimgrin 6 hours ago
          I love userscripts. Aren't we all using https://github.com/violentmonkey/violentmonkey now though?

          thought I realize "if it works it works", https://github.com/Tampermonkey/tampermonkey

          • adrianwaj 5 hours ago
            I did something similar 2 days ago with ViolentMonkey if you only want to check high-level discussion without any new tabs at all.

            https://greasyfork.s3.us-east-2.amazonaws.com/sokzpb2ztmatlh... (screenshot)

            https://greasyfork.org/en/scripts/588721-hacker-news-comment...

            I'd improve it by counting top level comments next to items but that would slow it down. Still need to make some slight changes like closing sidebar by re-clicking orange (beyond just right-clicking sidebar.)

            It's very fast and speeds up thinking overall.

          • Barbing 5 hours ago
            Not on Safari, but I should migrate on Firefox I’ve read (some controversy).

              zip is available only if you're logged-in on GitHub site
            
            Haven’t seen that before.
        • ta8903 22 minutes ago
          Userscripts are also less friction for the user. At least for some level of triviality.

          I would say only go for extensions over userscript if you need a settings menu (or any of the APIs the sibling comment mentions).

      • aaron695 4 hours ago
        [dead]
  • pluc 6 hours ago
    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.
    • devsda 2 hours ago
      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.

    • dagurp 6 hours ago
      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.
    • werdnapk 4 hours ago
      Thanks for the tip. Didn't know this was added.

      I generally open the HN comment link, then click the article link, read it, then click back to read the comments.

      I'll see if this split view feature works better for me though, but I think I'd prefer a horizontal split instead of vertical.

    • Barbing 5 hours ago
      I accidentally closed Firefox’s last “you’ve just updated” screen which probably mentioned Split View. Couldn’t re-open it. It’s not this https://www.firefox.com/en-US/firefox/153.0.1/releasenotes/ , know if it’s mirrored?
    • monkpit 1 hour ago
      Left click?
    • ghtjason 5 hours ago
      alt/option-clicking on the desired tab works too
    • vee-kay 1 hour ago
      [dead]
  • abudooboo 2 hours ago
    Have you considered modifying it to trigger on every HNews click as well as with as manually triggered? As it is now it leaks browser URLs + query string + fragments to hn.algolia.com since it queries it on every single page you visit. At the very least it might be good to sanitize the queries by restricting to origin + path?
  • djfdat 6 hours ago
    This is great and is also something that I've always had an issue with.

    What I do now is open the HN comments, and then when I'm ready to look at the link + comments, right-click on the title and Open in Split View.

  • cbhl 1 hour ago
    This is cool. Don't want to minimize that.

    That said, in case it helps anyone else, my usual flow is to middle-click (by clicking my mouse wheel) both the link and the comments link which opens each in a new background tab (at least in Chrome). Hopefully that's lower-friction than what you were doing with the two tabs.

  • txhwind 4 hours ago
    I also wrote a Monkey script to save clicks when reading papers: just embed PDF webview into the Arxiv abstract page. https://github.com/OneMoreSecond/FileSave/blob/master/arxiv_...

    It seems the software productivity has exploded in the agent era. However, do we treat every point of daily experience seriously enough? Do we recognize such pains actively and try to eliminate them (often easy), or just tolerate infinitely?

  • geuis 2 hours ago
    I don't understand the problem space. Meaning I don't understand what this solves.

    My use case, even on phone:

    View HN

    Right click link to open in new tab OR: tap/hold a link then open I a new window.

    What problem is this solving?

    • monkpit 1 hour ago
      Or, open the comments and then click the title link. Then click back when you’re done reading the article, so you can read the comments. That’s my preferred mobile workflow anyways.
  • kwar13 3 hours ago
    I made an extension that opens both tabs for you and thus far has a whopping 6 users!

    https://chromewebstore.google.com/detail/hacker-news-saved-y...

  • Natalia724 2 hours ago
    The mobile default seems important here: opening the panel collapsed, then preserving its size per site, could keep the first article read predictable while retaining quick access to the discussion.
  • joshdavham 5 hours ago
    I think the amount of upvotes you’re getting here suggests that it might be worth building a proper browser extension for this!

    Would you be interested in making one?

    • twalichiewicz 5 hours ago
      Open to it. For now I’m going to keep it as a userscript and build out some of the interesting ideas people have suggested here. If it keeps growing, a proper extension would definitely make sense.
  • 8ig8 1 hour ago
    I just open the HN post and then open the article. That way I can simply go back to the comments after reading the article, whenever that may be.
  • franciscop 4 hours ago
    I made something slightly similar ~10 years ago where you could embed HN comments in your own site. It was the opposite end of consumer though, for webdevs to embed it.

    https://news.ycombinator.com/item?id=12898366

    Note: I took it down when it seemed it could degrade HN quality if people used it as normal comments, but yours is great since it's the opposite target/usage

  • locusofself 3 hours ago
    Is it lame that (especially for super long discussions), I often open a gemini tab and summarize the comments? I like reading HN comment threads, but I often only have a few minutes and just want to get the gist of the reactions from the community for some topic.
    • consumer451 3 hours ago
      yes, a bit.
    • asadm 3 hours ago
      Probably better than rushing the top comment only.
    • hdjdjdjrj 3 hours ago
      [dead]
  • james2doyle 5 hours ago
    Nice. I’ve been using the new split tabs in Chrome. Works perfectly. I believe Firefox had this first?
    • powvans 5 hours ago
      The submission is cool because it opens the comments even if you just happen upon some article that also happens to have a HN discussion. That said, when I read the headline I thought the same thing, “uh, right click, open in split view?” When that feature landed in Chrome my first use case was exactly this.
  • pseudosavant 3 hours ago
    This is pretty cool! It had never crossed my mind that everyone else is doing the same two tab thing that I'm doing.
  • prtmnth 5 hours ago
    Haha, this is so cool and can't believe I didn't think about it. I've been opening 2 tabs per HN link on my phone since forever!
  • thelastgallon 2 hours ago
    Chrome has add tab to split view.
  • hugopuybareau 6 hours ago
    Nice idea ! How do you handle duplicates ?
    • twalichiewicz 6 hours ago
      [Assuming you mean duplicate HN submissions]

      I normalize the URL and use HN's Algolia search API to find an existing story with a matching URL. I don't currently handle multiple HN submissions of the same article; I just use the matching story I find.

      That being said, I could see creating a historical snapshot of all the times an article has been submitted and building a blended comments section in the future.

  • Topology1 6 hours ago
    Phew, thought I was the only one doing that. I thought I was missing some core site feature lol.
  • zouhair 4 hours ago
    hehe, I opened chatgpt and the little button blocks the three dots
    • twalichiewicz 3 hours ago
      Yeah, I noticed that too. It's mostly because people tend to post ChatGPT outage pages to HN, so the script ends up activating there unfortunately.

      I'm working on a fix, but in the meantime you can add `@exclude https://chatgpt.com/*` to the userscript header.

      EDIT: Added this to the v1.4.0 release just now.

  • latchkey 2 hours ago
    For orange juice, on a "selected" story, i made left arrow open the comments and right arrow open the story. bang bang.

    currently rocking 666 users... https://oj-hn.com

  • blopp99 6 hours ago
    Thought I was the only one hahaha
  • ahachete 6 hours ago
    I feel ya. I'm always middle clicking twice, story and comments.

    This shouldn't be a script (no offense, great job!). It should be built into the browsers!

  • kalamarico 6 hours ago
    Very cool!
  • f3408fh 5 hours ago
    Now make a user script that blocks posts titled "I was tired of X, so I...".
    • frollogaston 5 hours ago
      Instructions were unclear, rewrote this script in Rust then in Zig
  • vee-kay 1 hour ago
    [dead]
  • yoyopa 1 hour ago
    [dead]