Mashing Slashdot

Thursday July 28th 2005, 8:55 pm Printer Friendly Version
Filed under:Software Development, Firefox, World Wide Web
Posted By: Matt

Marc Boucher has generously taken a crack at cleaning up and improving the quick-and-dirty hack I call “Slashdot Live Comment Tree”. I’ve made his emails, which describe the process in detail, available on this blog. In his last mail he says:

I’ve added a bug in the previous version. I had noticed that the script hides the <td> containing the message info, not its parent <tr>. But after adding the .parentNode I forgot to also add it at 2 other places (”Collapse All” and “Collapse Main” when checking for style[”display”]).

In attachment 2 versions of the script. One that hides <td>, the other hides <tr>. This is only a cosmetic choice, the hidden titles are 2 pixels closer when <tr> is hidden. Give me your opinion.

My aesthetic sense is pretty much non-existent, so I’m posting both versions here in case someone more qualified has an opinion:

Script 1
Script 2

I’m still using the old, pre-security crisis, version of Greasemonkey, so don’t know how these will function in the latest version. Caveat surfor, as always. I’ll give this a little time to percolate and then put the winning script up in place of the current one.

In other Slashdot/Greasemonkey news, Julien Couvreur has created a cool script called “Slashdot - Single Page View” that injects subthreads of Slashdot discussions onto the main comment page, instead of making you open a new page. It looks great when used in conjunction with LCT!


1 Comment »

  1. Looks like Slashdot is getting ready for a facelift (CSS-based layout): http://www.newsgoat.com/2005/07/27/slashdot-css-for-nerds-markup-that-matters/
    I hope the markup will be better. If so, it should be possible to improve the “Slashdot - Single Page View” script.

    Comment by Julien Couvreur — 7/28/2005 @ 11:07 pm

Trackback URL RSS feed for comments on this post. TrackBack URI

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

(required)

(required)


 

AllPeers File Sharing



AddThis Feed Button



Creative Commons License
This work is licensed under a Creative Commons License
Conestoga Street Wordpress Theme by Theron Parlin