3 ms·
Ask HN: Is there a tool to view link and HN comments in one page?
Just wondering if someone has created a tool to view a submitted link and related HN comments in one page.
This is instead of having to open 2 tabs each time you want to read the article and then wanting to read the HN comments for the article. Or is there a better way of doing this?
- chaosprophet 16y agoInstall HN Toolkit and enable split view in the options. For Firefox (+ Greasemonkey): http://userscripts.org/scripts/show/25039 http://userscripts.org/scripts/show/25039 For Chromium: http://gist.github.com/355697 http://gist.github.com/355697 (click the 'raw' link)
- seanlinmt 16y agoIs it possible to hijack the 'middle click' on a link so that it opens the split view in a new tab?
- chaosprophet 16y agoI don't think it can be done by capturing the middle click, but you could achieve the same effect by changing the script such that the HN submission ID is added as a url fragment id or dummy URL param to the submission link. Then another script can be used to check the referrer property of each page loaded, and if it points to HN you could insert an iframe and open the comments link using the submission id in the url.
- revorad 16y agoMaybe this one - http://userscripts.org/scripts/show/30512 http://userscripts.org/scripts/show/30512 ?
- seanlinmt 16y agoit would be great if this could open a new tab with the split views on 'middle click' instead opening all links in the same page
- jrnkntl 16y agoWhy not hack it together yourself? ;) Parse the rss feed and pull in the url in an iframe and the comments page in one. Give them both a height/width of 50% and voila.
- seanlinmt 16y agoAs a lazy programmer I wanted to find out if anyone had done something about it. It's a fairly obvious itch that I'm pretty sure someone must have scratched it already. ;)