Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Diggscuss

NOTICE: I am no longer developing this script because I'm using pile0nades Digg nested comments hack instead: http://userscripts.org/scripts/show/7934

----

Diggscuss v0.9: Adds [reply] and [quote] links to each comment (only works in Digg v4)

This script has been rewritten to use XPath instead of walking the DOM "manually" so to speak. It's longer, but does more! It's now called Diggscuss so I hope Digg doesn't send me a C&D letter. ;-)

Now both a [reply] and a [quote] link are added to each comment. Replying to parent comments now adds @username: to the comment field as well as the links added by the script.

Regression: The link to the parent comment is no longer displayed. If you miss this then let me know and I will add it back in.

Any comments, criticism or feature requests are welcome just leave me a comment here or on userscripts.org.

Happy Digging!

Thanks to David Bendit, the original author of the v3 script.

If you like this script, Digg It!
http://www.digg.com/programming/Diggscuss_v0_9_...

----

[UPDATE] 0.9
* Complete rewrite, now uses XPath. Added [quote] links as well.

[UPDATE] 0.6
* Eliminated JS errors when browsing pages with no comments (such as the front page).

[UPDATE] 0.5
* Eliminated JS errors when browsing Digg anonymously.

[UPDATE] 0.4
* Now excludes Digg API pages to prevent JS errors on pages with a Digg It! widget, thanks to Daniel Einspanjer.

[UPDATE] 0.3
* Cleaned up the code a bit, added a few comments, and reduced the number of main loops from 3-4 to just one.
* I also removed all but one of the globals. I would just get rid of the link to the parent comment altogether (and hence be rid of all globals) but since I inherited the script I won't axe that feature in case someone uses it.

[UPDATE] 0.2
* The code now works with friend comments and regular comments.






1 point
login to vote
Sami Samhuri script's author
Posted Mar 15, 2007

Thanks Daniel, I've updated the script with that @exclude.

1 point
login to vote
Daniel Einsp... scriptwright
Posted Mar 15, 2007

Please consider adding an @exclude http://digg.com/api/*

to your script. If you don't exclude api pages, you get JavaScript errors when a page has a digg this widget. (or at least that is what I saw..)

1 point
login to vote
ripple024 scriptwright
Posted Mar 13, 2007

very nice!

You could comment on this script if you were logged in.