SHARE
TWEET

diaspora bookmarklet

tonybaldwin Sep 9th, 2011 321 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Diaspora bookmarklet to post picture:
  2.  
  3. javascript:(function(){f='https://poddery.com/bookmarklet?url=![Alt%20text]('+(encodeURIComponent(window.location.href))+')\n\n[source]('+(encodeURIComponent(window.location.href))+')';a=function(){if(!window.open(f+'&jump=doclose','diasporav1','location=yes,links=no,scrollbars=no,toolbar=no,width=620,height=250'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()
  4.  
  5. // edited the original from http://diasporapictureshare.blogspot.com/2011/09/diaspora-picture-share-bookmarklet.html?showComment=1315601739821#c5085034519848168552
  6. //  to also add a text link to the original image.
  7. // where you see "poddery.com", you would want to change that to the pod you use (unless it's poddery, in which case, you needn't change anything).
RAW Paste Data
Top