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

71–80 of 148 posts

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

#71
post #67

This is how reddit supposed to be. A universal comment box for del.icio.us

Fun story. Way back in 2008, I tried to make it exactly that. I worked on figuring a way to inject the reddit comments onto any page. Sadly at the time the JS ecosystem just wasn't mature enough to allow users to log into reddit and safely inject it onto the page.

Disqus existed, but it worked because every page was completely independent. The discussion only existed embedded on the page.

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

#73
post #65
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…

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 a…

I think one of the point of the author is making might also be that a window manager could do just more, like managing windows as tabs as well.

So that any application could have tabs, if the desktop manager would allow you to group windows as such. Same with showing a split view within such a tab as well.

I think I agree with that. I could imaging that the browser containers of tabs would make a ton of sense if I could make a container of windows handled as tabs across different applications at the window manager level.

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

#75
If you use Firefox (and will pardon me plugging my own project), you might be interested in a version of this I made a while ago as a browser extension:

https://github.com/jstrieb/hackernews-button

My project is somewhat different from the userscript in that mine uses Bloom filters to check whether a link has been submitted, whereas this userscript sends every page you visit to the Algolia search API. Using Bloom filters means that there are no external requests unless you actually press the button. My project also doesn't show the comments in a sidebar.

Having a link to past discussions, whether using this userscript or my extension, is useful not only to read the comments for a page you're browsing, but also to find good sites that haven't been submitted yet!

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

#76
post #65
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…

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 a…

I use Sway and happily manage my terminal windows using its tabs and splits. I can mix other "graphical" apps with the terminals or move them to another screen, all with the same keybindings. I agree, though, that I wouldn't want to replace my Sidebery vertical tabs with this setup, but I ultimately don't see why equivalent functionality couldn't be implemented inside the window manager in some alternate universe.

There are sadly hardly any WMs now with tabs, so having them support tree style tabs as well doesn't look too realistic.

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

#77
post #58
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.

Left click?

Maybe they have their mouse in their left hand and reversed main and secondary button?
Post reply on HN