Hacker News Chrome Extension (chrome.google.com)
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
31 comments
[ 2.9 ms ] story [ 64.8 ms ] threadThe source code can be found here: http://github.com/adamalbrecht/hacker-news-for-chrome
Also, the 'Submit Current Page' feature seriously just increased the chances of me actually submitting things.
This extension displays the top 15 HN stories, gives links to them, and also gives a link to each of their comment pages.
border-style-bottom: solid
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.
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 It works in Safari, Chrome and FF on my Mac. Time for my mid-morning nap.
As far as I know, HN doesn't have this capability indeed. However the script could scrape a certain number of the pages (it goes up to seven). You can easily match the linked URL with the current URL. I believe a Chrome plugin can have a list of remote sites it can do XmlHttpRequest on, no?
This won't work where you directly happen to go to a site that was also on HN, but will work for the 80% use-case where you are going to a site from the HN front page itself.
https://chrome.google.com/extensions/detail/plldnnbdlbgbiknj...