4 ms·
This fixes a few issues with the script by Alexander Kirk [1], like collapsed child comments expanding when the parent is expanded. In addition to these this sc
by niyazpk 16y ago
This fixes a few issues with the script by Alexander Kirk [1], like collapsed child comments expanding when the parent is expanded. In addition to these this script will work in the threads page of hacker news. Also this bookmarklet will load faster than the script by Alexander since there is no call to any external JS file from my server. The only file you have to load is the latest jQuery from the jQuery website and chances are good that the file is already present in your browser cache. (The downside is that you will not be able to get the latest version when I update the code).
[1] http://alexander.kirk.at/2010/02/16/collapsible-threads-for-hacker-news/ http://alexander.kirk.at/2010/02/16/collapsible-threads-for-...
- akirk 16y agoThanks for picking this up. I have been bugging pg quite a few times to integrate it, but so far he hasn't had time (or interest in doing so). I hope the recurring posts on Hacker News will up this in his list of priorities :) Just one remark about the external script: My server is configured to serve the JS file with far future expires header. Once your browser has that file, it won't even ask my server for it, so that shouldn't be a performance hit (actually your script also loads an external script, jQuery, but from a location that does not set the far future expires headers, you should use the ajax.googleapis.com server)