Scriptlets

Scriptlets
post to diigo
javascript:(function() {var url = location.href;var title = document.title || url;var desc = (window.getSelection ? window.getSelection().toString() : document.getSelection ? document.getSelection()  : document.selection.createRange().text);window.location.href = ‘http://www.diigo.com/post?url=’ + encodeURIComponent(url) + ‘&title=’ + encodeURIComponent(title) + ‘&desc=’ + encodeURIComponent(desc)})();
Diigolet
javascript:(function(){s=document.createElement("script");s.type="text/javascript";s.src="http://www.diigo.com/javascripts/webtoolbar/diigolet_b_h_b.js";document.body.appendChild(s);})();
Delicious
spurl!
javascript:d=document;void(window.open(‘http://www.spurl.net/spurl.php?v=3&title=’+encodeURIComponent(d.title)+’&url=’+encodeURIComponent(d.location.href)+’&blocked=’+encodeURIComponent(getSelection()),’_blank’,’width=450,height=550,status=no,resizable=yes,scrollbars=auto’))
mister-wong
Google Bookmark
javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open("http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk="+c(b.location)+"&title="+c(b.title),"bkmk_popup","left="+((a.screenX||a.screenLeft)+10)+",top="+((a.screenY||a.screenTop)+10)+",height=420px,width=550px,resizable=1,alwaysRaised=1");a.setTimeout(function(){d.focus()},300)})();
Google Translate – English
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=”){location.href=’http://translate.google.com/translate_t?text=’+t+’&hl=en&langpair=auto|en&tbb=1&ie=’+e;}else{location.href=’http://translate.google.com/translate?u=’+escape(location.href)+’&hl=en&langpair=auto|en&tbb=1&ie=’+e;};
This entry was posted in Code Snippets. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s