Forum:"Digg This" button

From Uncyclopedia, the content-free encyclopedia

Jump to: navigation, search
Forums: Index > Village Dump > "Digg This" button
Note: This topic has been unedited for 2243 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

Add this to your JS and refresh:

if(wgNamespaceNumber % 2 == 0 && wgCurRevisionId != 0) addOnloadHook(diggThis)
function diggThis() { 
  var link = encodeURIComponent(wgServer + wgArticlePath.replace('$1',wgPageName))
 addPortletLink('p-cactions', 'http://digg.com/submit?url=' + link + '&title=' + encodeURIComponent(wgPageName).replace(/_/g,'%20') + '&media=NEWS&topic=comedy', 'digg this')
}

What think? Good idea? Bad idea?  Sir Skullthumper, MD (criticize  writings  SU&W) 03:12 Aug 02, 2008

meh. Lieutenant THEDUDEMAN Dude ... Totally UOTM KUN GotA F@H 03:14, 2 August 2008 (UTC)
Isn't a Digg This Story button at the bottom of every page already? Cause it is for me... --MegaPleb Dexter111344 Complain here 03:16, 2 August 2008 (UTC)
Personal tools
projects