5 ms·
Hacker News Chrome Extension
I just finished up a simple Hacker News extension for Google Chrome. It allows you to view the front-page stories as well as submit your current tab. Let me know what you think and I'd like to hear your ideas for future updates.
The source code can be found here: http://github.com/adamalbrecht/hacker-news-for-chrome
- adam_albrecht 17y agoI just finished up a simple Hacker News extension for Google Chrome. It allows you to view the front-page stories as well as submit your current tab. Let me know what you think and I'd like to hear your ideas for future updates. The source code can be found here: http://github.com/adamalbrecht/hacker-news-for-chrome http://github.com/adamalbrecht/hacker-news-for-chrome
- acangiano 17y agoNice job. I find it particularly useful when I want to open up a bunch of links I'm interested in without the need to right click.
- sparky 17y agoCtrl+Click (open in new tab) and Shift+Click (open in new window) work well too, if I'm understanding you correctly. If not, my apologies :)
- acangiano 17y agoYou understood me correctly. However, ctrl+click still involves two input devices. :)
- dmnd 17y agoIf you have a scroll wheel on your mouse, middle-click opens a link in a new tab using only a single input device.
- messel 17y agoThe things you learn about peripherals here. I've been right click new tabbing for years.
- ximeng 17y agoYou can set up laptop touchpads to have a middle-click zone for one tap opening of new tabs too.
- statictype 17y agoYou can also middle-click on a tab to close it. Works in both Chrome and Firefox.
- Hexstream 17y agoSimultaneous left+right click counts as middle click for me on Ubuntu, I'm not sure if it's like that everywhere. So maybe you don't even need a scroll wheel.
- adam_albrecht 17y agoI'm just trying it out in Windows for the first time (on my work PC) and I realize that it works a little better on my Mac. On the mac version of Chrome, when you click on a link within the extension popup, it opens up a new tab in the background and leaves the popup open. But in the Windows version, the popup closes every time you click a link. That's annoying.... I'll look into it later.
- rafd 17y agoAwesome! ...but passing on this for the sake of my productivity, for now.
- vijaydev 17y agosecond that :)
- char 17y agoI'm really excited about this. Also, the 'Submit Current Page' feature seriously just increased the chances of me actually submitting things.
- vijaydev 17y agoI use http://ycombinator.com/bookmarklet.html http://ycombinator.com/bookmarklet.html, but this looks good too!
- rogermugs 17y agoi'm not sure you really understand what the extension does
- mbrubeck 17y agoIt does the exact same thing as the bookmarklet, as far as I can tell.
- cj 17y agoThe bookmarklet only allows you to submit pages. This extension displays the top 15 HN stories, gives links to them, and also gives a link to each of their comment pages.
- mbrubeck 17y agoYeah, I'm using it. I was replying specifically to the comments in this thread about the "Submit Current Link" feature making it easier to post links. Sorry for being unclear.
- krainboltgreene 17y agoI would honestly get rid of the numbering and give each list item: border-style-bottom: solid
- adam_albrecht 17y agoI agree that the numbers are pretty useless, but I decided to keep them to match the Hacker News theme. Maybe in the future, I'll add a second theme and let you choose between them in the options. Thanks for your input.
- Timothee 17y agoOne thing I could see useful is to get to comments for your current tab. Let's say you're reading something and you would like to see if there's any discussion around that on HN and if so, get to it. If not, get the option of submitting it. I also remember that there was a bookmarklet that was adding links for each story to open a split window with the article on the left and the comments on the right. I liked it, though I lost it and never really looked for it.
- ananthrk 17y agoRegarding the split view, did you mean http://nirmalpatel.com/hacks/splitview.html http://nirmalpatel.com/hacks/splitview.html ?
- nirmal 17y agoUnfortunately, the page that frames the article and comments side-by-side is throwing a 403 and I don't know why. Still debugging... The page works when I launch it locally but not when it is on my host. I put in a support request. [EDIT : 9:05AM] Fixed. You will need to reinstall the user script at http://nirmalpatel.com/splitview/splitview.user.js http://nirmalpatel.com/splitview/splitview.user.js It works in Safari, Chrome and FF on my Mac. Time for my mid-morning nap.
- megamark16 17y agoI think what he's asking for (if I understand correctly) is a way for the plugin to check the page I'm currently on, say it's a mixergy blog post or something, and determine if that blog post has already been submitted to HN and if there are any comments about it. That would be sweet, that way I'd know right away without having to google search (site:news.ycombinator.com) for the url, and if there' already a thread I can join in the discussion quickly.
- pavs 17y agoTo be more specific. Something like this; http://www.reddit.com/tb/b9yyc http://www.reddit.com/tb/b9yyc
- pibefision 17y agoI love it!. Thanks!