lazyDigg V1.0 Instructions and Documentation

May 21, 2007

Step 1: Copy the below url.

javascript: function lazyDigg (n, linkIdentifier) { var grabLinks; var linkSlice; var counter; counter = 0; grabLinks = window.document.getElementsByTagName('a'); for(i=0;i<grabLinks.length;i++) {linkSlice = grabLinks[i].href.substr(0, 14); if(linkSlice == linkIdentifier) {if(counter==Math.floor(n)) {var getDContents1 = grabLinks[i].href.substr(14, 7); var getDContents2 = grabLinks[i].href.substr(23, 32); if(linkIdentifier == "javascript:dC(") { dC(getDContents1, getDContents2); } else { bC(getDContents1, getDContents2); } } counter++; }}if(n<counter-1) if(linkIdentifier == "javascript:dC(") { setTimeout("lazyDigg("+(n+0.5)+", 'javascript:dC(')",100); } else { setTimeout("lazyDigg("+(n+0.5)+", 'javascript:bC(')",100); }} var ni = document.getElementById('header'); var newdiv = document.createElement('div'); var divIdName = 'lazyDigg'; newdiv.setAttribute('id', divIdName); ni.appendChild(newdiv);window.document.getElementById("lazyDigg").innerHTML = "<a href=\"#\" onclick=\"lazyDigg(0, 'javascript:dC(')\">Digg Up</a><br><a href=\"#\" onclick=\"lazyDigg(0, 'javascript:bC(')\">Bury Down</a><br>unlimitedorb@yahoo.com"; void(0);

Step 2: Browse to any comment page of the digg site, then paste the url into the address bar of your web browser and hit enter.

Step 3: A menu asking if you want to “Digg up” or “Bury Down” will appear toward the top of the screen (In my browser it appears next to the “Profile” link on Digg).

Step 4: Click either option; watch as each comment is dugg up or buried down respectively.

Step 5: You are now an official lazyDigger! Stay tuned for lazyDigg v2.0 =) If you have any questions, ideas, or even comments for any future version of lazyDigg, please send an email over to unlimitedorb@yahoo.com or AIM at unlimitedorb or MSN at unlimitedorb@yahoo.com

Thank you, and if there are any small bugs or comments…just leave them on my Digg entry (Assuming everyone doesn’t automatically bury it down haha).

lazyDigg V1.0

May 21, 2007

Well, to begin with, I’ve been spending quite a large portion of time browsing a Social News Networking Site by the name of Digg.com. I was feeling elated one day whilst browsing the site, when I thought to myself, wouldn’t it be great if everyone that gave a comment would be “dugg” up without having to manually do it yourself? So after a while I wrote a tool in javascript, then converted it into javascript urls (or inline javascript if you rather) so everyone could use it. I made it really simple, all you have to do is copy and paste the code into your url (or even bookmark it to save time) and a small menu will appear at the top of the screen giving you the option to either Bury Posts or Digg them Up. It will do a mass digg/bury of all comments on the site. It will be fun to see if this spreads. In the meantime, you can stay tuned to my rants/raves and projects on this temporary blog. View the post above for complete instructions and the code itself. Have fun =)

When I give, I give Myself ~

Walt Whitman

First View into the world.

May 21, 2007

Well, here I am folks (“I” meaning a 17 year old aspiring programmer). I haven’t done anything special with coding, but rather, I have sat back and admired the work of others, learning rather than doing. But starting now (Summers here for me), I’m going to be working on some neat projects. Stay tuned for more updates.


Follow

Get every new post delivered to your Inbox.