選択した文字列もしくは現在のURLをQRコードにするbookmarklet

Posted by nanki Tue, 27 Oct 2009 11:22:00 GMT

選択した文字列もしくは現在のURLをQRコードにするbookmarklet

javascript:s=document.getSelection().toString();s=s.length?s:location;open("http://chart.apis.google.com/chart?cht=qr&chs=200x200&choe=UTF-8&chl="+encodeURIComponent(s),'_blank')

Safariでしか試してない。 Google Chart API 便利。

参考:

Posted in  | Tags  | no comments | no trackbacks

Comments

Trackbacks

Use the following link to trackback from your own site:
http://blog.netswitch.jp/articles/trackback/8650

(leave url/email »)

   Comment Markup Help Preview comment