Skip to content

Instantly share code, notes, and snippets.

@oppara
Created March 18, 2011 15:03
Show Gist options
  • Save oppara/876214 to your computer and use it in GitHub Desktop.
Save oppara/876214 to your computer and use it in GitHub Desktop.
javascript:d=document;w=window;t='';if(d.selection){t=d.selection.createRange().text;}else%20if(d.getSelection){t=d.getSelection();}else%20if(w.getSelection){t=w.getSelection();}%20;void(w.open('http://eow.alc.co.jp/'+encodeURIComponent(t)+'/UTF-8/',%20'_blank',%20''))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment