Skip to content

Instantly share code, notes, and snippets.

@hyukhur
Created November 17, 2011 05:20
Show Gist options
  • Save hyukhur/1372429 to your computer and use it in GitHub Desktop.
Save hyukhur/1372429 to your computer and use it in GitHub Desktop.
me2scrap
javascript:(function()%7Blocation.href='me2day://create/post?body='+encodeURIComponent('%22'+document.title+'%22:'+location.href)+'&tags=me2scrap&returnURL='+encodeURIComponent(location.href);%7D)();
@codian
Copy link

codian commented Nov 17, 2011

자매품입니다

javascript:(function(){var%20d=document;var%20w=window;var%20me=function(el){var%20o=d.createElement(el);if%20(typeof%20o!='object'){o=d.standardCreateElement(el);}return%20o;};var%20gst=function(){var%20t%20=%20'';if%20(w.getSelection){t%20=%20w.getSelection();}else%20if%20(d.getSelection)%20{t%20=%20d.getSelection();}else%20if%20(d.selection){t%20=%20d.selection.createRange().text;}return%20t;};var%20eu=encodeURIComponent;var%20l='t='%2beu((d.title?d.title:''))%2b'&u='%2beu(location.href)%2b'&s='%2beu(gst());var%20s=me('script');s.setAttribute('src','http://me2day.net/posts/bookmarklet_v2?'%2bl);d.getElementsByTagName('head').item(0).appendChild(s);})()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment