Comment

Comment by Xichekolas

So I went to add this splitview thing to my Greasemonkey script for Hacker News, only I did the same thing without hitting your site for the frameset (completely clientside js). It works quite nicely, but for some reason I had to resort to something I consider quite ugly.

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.

parent Xichekolas 18 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton