4.15.2006
A Better Digg Bookmarklet
I've made a better digg.com bookmarklet that automagically adds the page's title to your posts. I had found one very alike to this one but I did not remember where so I 'remade' it.
Well, just drag this to your browser toolbar:
digg it!
And you will finally have a Digg bookmarklet that copies the page's title. Much better than the ones I've seen around.
Cheers!
Comments:
<< Home
here is another one i found. apparently this one is universal for other browsers. it worked for me so try it if this one doesnt work for u.
here is the url to the link
http://skattertech.com/2006/06/digg-this-bookmarklet/
here is the url to the link
http://skattertech.com/2006/06/digg-this-bookmarklet/
Simplified the code a bit, modified to open in a new window no matter what:
javascript:(function(){x='http://digg.com/submit?phase=2%20&url='+location.href+'&title='+encodeURIComponent(document.title);if(document.getSelection()){x=x+'&bodytext='+encodeURIComponent(document.getSelection())};window.open(x,'digger','width=925,height=600,toolbar=yes,location=yes,status=0,scrollbars=yes')})()
The only problem I've encountered so far is that for some reason the window doesn't have focus when it opens.
javascript:(function(){x='http://digg.com/submit?phase=2%20&url='+location.href+'&title='+encodeURIComponent(document.title);if(document.getSelection()){x=x+'&bodytext='+encodeURIComponent(document.getSelection())};window.open(x,'digger','width=925,height=600,toolbar=yes,location=yes,status=0,scrollbars=yes')})()
The only problem I've encountered so far is that for some reason the window doesn't have focus when it opens.
Okay, I found the problem thanks to a particularly relevant article, and I also found a "remote digg" URL via the New York Times Web site. So, presenting the ultimate Digg bookmarklet (works like Facebook's):
javascript:(function(){x='http://digg.com/remote-submit?phase=2%20&url='+location.href+'&title='+encodeURIComponent(document.title);if(document.getSelection()){x=x+'&bodytext='+encodeURIComponent(document.getSelection())};setTimeout("y.focus()",1000);y=window.open(x,'digger','width=650,height=450,toolbar=0,location=0,status=0,scrollbars=yes')})()
javascript:(function(){x='http://digg.com/remote-submit?phase=2%20&url='+location.href+'&title='+encodeURIComponent(document.title);if(document.getSelection()){x=x+'&bodytext='+encodeURIComponent(document.getSelection())};setTimeout("y.focus()",1000);y=window.open(x,'digger','width=650,height=450,toolbar=0,location=0,status=0,scrollbars=yes')})()
I rewrote a bookmarklet for del.icio.us that I had. This bookmarklet will open a new window to go to digg.
javascript:void window.open('http://digg.com/submit?phase=3&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));
javascript:void window.open('http://digg.com/submit?phase=3&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));
hi I saw the previous digg.com bookmarklet and I didn't like so much, but I will try this one, I hope it is better, thanks for sharing it bro!
here is another one i found. apparently this one is universal for other browsers. it worked for me so try it if this one doesnt work for u.
Brilliant blog posting. I found your post very interesting; I think you are a brilliant writer. I added your blog to my bookmarks and will return in the future.
Post a Comment
<< Home