Add Digg Control

By Daniel Einspanjer Last update Jul 19, 2007 — Installed 1,627 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0

Archived Comments (locked)

Subscribe to Archived Comments 18 posts, 8 voices

Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Praveen Mark... User

yep, this script needs a revise

 
filius Scriptwright

Needs to updated for Firefox 3

 
Jordi De Groof Scriptwright

When you install Digg widget right-click bury, you can also bury stories right from ADC, so without having to go back to digg itself.

 
ssboisen Scriptwright

never mind what I just wrote, I must have been temp blind

 
ssboisen Scriptwright

is it just me or does this not work anymore?

if it does than I might have misunderstood what's suppose to happen, I though the actual story-page (the digged url) would contain a digg-button

 
Praveen Mark... User

i think i love you daniel :D great job. thanks

 
Daniel Einsp... Script's Author

Changing api to tools just masked the problem which was another change to the dig() function that broke compatibility. I just uploaded a new version that should be good until the next change. :)

 
Praveen Mark... User

i made a very minor change for this script to work again. you have to edit it yourself.
replace src = 'http://digg.com/api/diggthis.php?u='+articleURL+'#adc_diggthis_init';
with
src = 'http://digg.com/tools/diggthis.php?u='+articleURL+'#adc_diggthis_init';

if you have AddDiggMirrors replace ( location.href.indexOf('http://digg.com/api/diggthis.php')
with
( location.href.indexOf('http://digg.com/tools/diggthis.php')

note: this is a temporary fix.when you click diggthis it will jump back to the digg story page. sorry .i am a total n00b programmer. thats what you get when you do Comp Sci at university. hope this helps

 
Praveen Mark... User

ANOTHER change to digg :( does work agian. and the comment system is crap. btw. if i go to the digg story page (ie. http://digg.com/space/The_Greatest_and_Most_Unu... ) can you make it so ADC makes it work when i click the story link here as well.

 
Daniel Einsp... Script's Author

Yep. noticed that a few days ago. Just fixed it this morning. digg.com added a new variable to their ajax digg method. Updating should get you up and running again.

 
Praveen Mark... User

there is something wrong with my ADC
everything looks fine and works fine until i try to digg the article. the digg number fades off and never appears again, and neither does DIGG change to DUGG. when i check my digg profile, i have not dug the link. i can however click on the blank space and be directed to the digg article page. pic below
http://i19.tinypic.com/6bt0h8l.jpg

 
Johan Sundström Scriptwright

Cool code reuse. Jesse's book burro extension version at bookburro.org doesn't have the drag code (originally by Aaron Boodman), though, so people looking for that code's ancestry might be better off directed via http://userscripts.org/scripts/show/1859 or wherever you picked it up.

And (unless you're aiming for being Opera compatible), the (function() {...})(); enclosure to protect the page from script data has not been needed since very early (0.5 branch) Greasemonkey versions.

 
Jordi De Groof Scriptwright

Add mirrors is now working with ADC, no matter which of the two is installed first.

 
Daniel Einsp... Script's Author

PeCet:
I re-installed the add mirrors script to test out with it. I found that if the add mirrors script is installed after ADC, the coral and google links will be properly instrumented.

Duggmirror.com is a special case, so I updated ADC to explicitly support it.

 
PeCet Scriptwright

Good, but please make it to work with digg - add mirrors extension, i mean digg button for thease mirrors

 
Daniel Einsp... Script's Author

Okay. it is fixed now. Sorry to all the new people who installed the broken .3 version. :(

 
Daniel Einsp... Script's Author

Hey, don't bother installing this .3 version today. I just discovered that digg also changed their API slightly so the digg this link isn't working. :(

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel