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

digg - add mirrors

Adds links to DuggMirror (http://dugmirror.com/), Coral (http://www.coralcdn.org/), and the Google Cache (http://www.google.com/) to every link in the articles and comments

Add mirrors to Digg.

Big ups to Valentin Laube and his Add mirrors to Slashdot script.
( link )

I stole the vast majority of the code from him.

Updated to 1.2:
- should handle all pages now, front page, searches, and single story pages.

Updated to 2.Ninja.Awesome - DuggMirror instead of MirrorDot, thanks to LouCypher.




May 28, 2007
coollettuce Scriptwright

I just fixed two bugs, thanks to pile0nades.

Check it out: http://userscripts.org/scripts/show/9490


 
May 27, 2007
coollettuce Scriptwright

Hey I modified this script and added a duggback link.

http://userscripts.org/scripts/show/9490


 
Mar 15, 2007
Daniel Einsp... Scriptwright

Ugh! disregard that last comment. The error wasn't coming from add mirrors. It was coming from comment helper. :( Sorry for the misreport!


 
Mar 15, 2007
Daniel Einsp... Scriptwright

Oops, one more thing...

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..)


 
Mar 15, 2007
Daniel Einsp... Scriptwright

This is a very useful script.
A user of my "Add Digg Control" (ADC) script mentioned that it didn't work 100% with your script so I just took a look at it.

I found that if your script is installed after ADC (in other words, comes after ADC in the manage scripts list) then your coral and google links will be properly instrumented for ADC. Since the duggmirror link is created by your script in a different way, it wasn't instrumented.

I decided the easiest thing to do was to explicitly support duggmirror.com pages.

Anyway, just thought I'd comment here since it involved an interaction between our two scripts.


 
Oct 16, 2006
tyler Script's author

Thanks pile0nades, I'll add these as soon as I can.


 
Oct 5, 2006
pile0nades Scriptwright

The script adds an extra set of links after the MY#1 button because it is being included in the xpath query for links in the h3.

To fix it, add a "[1]" at the end of the xpath query. That will select only the first link in the h3, which is the title.

Also, on the submit page, the preview of the digg story at the bottom, the mirror buttons look messed up.

To fix that, add "padding-bottom: 0px;" to the 3 "sam_backgroundimage"'s. Then it will look right.


 
Sep 15, 2006
Hansch User

Love it. But since Digg implemented "+My #1" feature, the mirror links/icons are all messed up. Any idea how to fix this?


 
Aug 3, 2006
tyler Script's author

Updated to use the DuggMirror thanks to LouCypher.


 
May 15, 2006
LouCypher Scriptwright

Here: diggaddmirrors.mod.user.js, using duggmirror instead of mirrordot.


 
May 14, 2006
mar 1 Scriptwright

The mirrordot does not work. Perhaps it would be better to add duggmirror.com instead?


 
Mar 15, 2006
Bruce User

I got this to work in opera 9.0 tp2 as well as opera 8.5. Simply make a Jscript folder in opera directory then download the first one, after that download the script above here.

The one below allows greasemonkey scripts to be compatable with opera.

http://userjs.org/scripts/browser/enhancements/...


 
Mar 8, 2006
tyler Script's author

Dude, 8090 still works though.


 
Mar 6, 2006
Justin Goldberg User

this needs to be modified for the new port 8080.


 
Feb 15, 2006
Daniel Einsp... Scriptwright

Thanks for your nifty script and for being the impetus for me to make my own digg script. :)


 
Feb 15, 2006
Austin 2 User

Can someone explain to me why a mirrordot link is included in this script? Mirrordot doesn't even cache digg-linked pages, so what's the point?


 
Feb 15, 2006
timendum Scriptwright

see my script if you are in alexadex http://userscripts.org/scripts/show/3233


 
Jan 31, 2006
tyler Script's author

w00p w00p, almost at 1000.


 
Jan 4, 2006
tyler Script's author

Justin, dude, hawt idea.

I'm on it. In a bit. Totally busy right now.


 
Jan 3, 2006
Justin Goldberg User

Make that:
http://search.msn.com/results.aspx?q=http%3A%2F...


 
Jan 3, 2006
Justin Goldberg User

Whoops, I meant
http://cc.msnscache.com/cache.aspx?q=2763664880...


 
Jan 3, 2006
Justin Goldberg User

Can you add MSN Cache to it? Sometimes it can have more up-to-date pages that aren't in the google cache
as an example:
http://cc.msnscache.com/cache.aspx?q=2763664880...


 
Dec 13, 2005
tyler Script's author

Word!


 
Dec 11, 2005
Aaron 2 User

Works great! Thanks >.>


 
Dec 7, 2005
tyler Script's author

Ported or "teefed"? :)


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