Ninjawords Bookmarklet


/ Published in: JavaScript
Save to your folder(s)

Select some text, click the bookmarklet, and the definition(s) will open up in [Ninjawords](http://www.ninjawords.com).

[Ninjawords](javascript:(function(){function%20t(f){try{if(f.getSelection)return%20f.getSelection().toString();if(f.document.selection)return%20f.document.selection.createRange().text}catch(e){}return%20''}function%20getQ(f){var%20q=t(f).replace(/^[^a-z0-9-]+|[^a-z0-9-]+$/ig,'').replace(/[^a-z0-9-]+/ig,%20',');var%20s='';for(var%20i=0;i

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.