http://nirmalpatel.com/#hnsplitview
HN SplitView is a bookmarklet that adds a link labelled "SPLIT VIEW" to each post on the Hacker News website. This link allows the user to open the post and the discussion page side by side in frames. Simply drag the link for HN SplitView to your toolbar or add it as a favorite.
I've been using this and it makes it easier for me to browse. I hope that other members of the HN community find it useful. I've tested it under Safari and FF. Let me know if you guys have any problems.
EDIT: It doesn't add the link for posts like this one or those of the "Ask HN:" variety.
Can someone please look at the code below (and read my comments in it) and tell me why the three addEventListeners that I have commented out won't work? I'd really really like to know why I am being retarded and how to fix it, as the solution I ended up with seems unnecessarily ugly.
View code here: http://userscripts.org/scripts/review/25039
Or if you don't care about it being ugly and just want to use it: http://userscripts.org/scripts/show/25039
But I'd really appreciate help with figuring out the issue with the addEventListeners.