One Click DuggMirror Cache Page With JavaScript

January 7th, 2007 - By:  Alex Bailey

Comments (3)   | del.icio.us | E-Mail This Post/Page EMail Post | Print This Post/PagePrint Post

Often websites on Digg go down due to the heavy flow of traffic. Typing duggmirror in manually can eventually become a hassle. With one line of JavaScript code, you can have one click access to the DuggMirror cache of a page.

javascript:window.location.href=window.location.href.replace('digg', 'duggmirror');

DuggmirrorHighlight the above code, and drag it to your book marks page. You can then name it to what you'd like. Alternatively you can drag it to your tool bar and name it DuggMirror.

Obviously you'll need to be on the comments area of the Digg page in order for this to work. It simply replaces the word digg with duggmirror, which has a permalink structure to direct you to the proper cache. You will also need JavaScript enabled.

I can't take credit for this code, I found it in the comments section of a Digg article. "kevinarth" pasted the code, saying he too found it from a Digg user, but can't remember from which thread.

EDIT #1
Credit goes to "jerbaker". His original comment can be found on a Digg article.

Other thoughts -

When using a wireless router, make sure you are on a secure connection, Trust only names like rogers wireless, and still make sure that you are using zone alarm. If not that, any antivirus software is a must. You can go for norton antivirus.

Related posts:

  • Unreal Tournament 2007 Release Date
  • Convert PDF + TXT Files To An MP3 Recording
  • Mozilla.com Experiencing 4 Times Their Normal Traffic
  • Anxious Gamers Take Down Amazon
  • Digg Notify
  • Trackback | Comments RSS | Leave a comment
    • 1. Bawked  |  January 7th, 2007 @ 10:03 PM |  Add karma Subtract karma  +2

      On the off chance that the story contains the word “digg” in the URL, this bookmark will be safer:

      pastebin.ca/309691

      Credit goes to “jerbaker”.

    • 2. Alex Bailey  |  January 7th, 2007 @ 10:32 PM |  Add karma Subtract karma  +1

      [quote comment="5859"]On the off chance that the story contains the word “digg” in the URL, this bookmark will be safer:

      pastebin.ca/309691

      Credit goes to “jerbaker”.[/quote]

      Nice never thought of that. By the way I edited out your code and put it into a pastebin, because it started to overlap the theme. Thanks for the new code :D

    • 3. Teague  |  January 8th, 2007 @ 1:32 AM |  Add karma Subtract karma  --1

      to avoid any problems with the word “digg” in the url, you could have it search for “digg.” (as in digg.com) and replace with “duggmirror.” Since no periods are allowed in article titles, it should fix any problems that could arise.

      New code would be:
      javascript:window.location.href=window.location.href.replace(’digg.’,'duggmirror.’);

    Leave a comment

    (Required)

    (Required), hidden

    (Not required)