Monday, March 07, 2011

Add the 'share on Facebook' bookmarklet

Using an iPad or iPhone and want to share that interesting video or webpage with your Facebook friends?

Share on Facebook Bookmarklet 

1. Bookmark this webpage.
2. Make the name of your bookmark "Share on FB" or whatever you prefer.
3. Copy the text below (from 'javascript' to the final')') and replace everything in the address field of your bookmark with this text, by editing the bookmark.
4. Try it out!

javascript:var d=document,f='http://www.facebook.com/share',l=d.location,e=encodeURIComponent,p='.php?src=bm&v=4&i=1271771052&u='+e(l.href)+'&t='+e(d.title);1;try{if (!/^(.*\.)?facebook\.[^.]*$/.test(l.host))throw(0);share_internal_bookmarklet(p)}catch(z) {a=function() {if (!window.open(f+'r'+p,'sharer','toolbar=0,status=0,resizable=1,width=626,height=436'))l.href=f+p};if (/Firefox/.test(navigator.userAgent))setTimeout(a,0);else{a()}}void(0)

No comments:

Post a Comment

banner in centre