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

91–100 of 148 posts

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

#93
post #10

Earlier quoted context omitted.

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.

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

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

#94
post #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 fil…

I don't understand what the Bloom filter is supposed to achieve here. Can you elaborate?

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

#97
post #73

Earlier quoted context omitted.

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

Windows (IE) tried to give WM visibility into tabs long ago, but this quickly revealed a problem: if tabs are now also separate windows, they enter the Alt+Tab ring, and suddenly you're Alt+Tabbing between 5 applications and dozens of open tabs. N=1, as a tab hoader, I absolutely hated it (it also made Alt+Tab itself very slow to show and cycle). The general problem is that having WM handle in-app tabs means the WM h…

Edge tabs show up in alt + tab.

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

#100
post #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 fil…

I don't understand what the Bloom filter is supposed to achieve here. Can you elaborate?

Not the author, but this prevents leaking all URLs you are visiting to agolia. Instead of asking Was this URL submitted to Hacker News? you ask Which URLs have been submitted to Hecker News?, store that in a Bloom filter, and then use the Bloom filter to answer the question Was this URL [likely] submitted to Hacker News?
Post reply on HN