QRコードを表示

    @@ -10,6 +10,6 @@ var w=window.open("about:blank","_blank"); w.document.open(); w.document.write('<html><body><div><img src="http://chart.googleapis.com/chart?chs=300x300&cht=qr&chl='+t+'"></div>'); - w.document.write('<div><input onclick="window.close();" type="button" value="Close" /></div></body></html>'); + w.document.write('<div><input onclick="window.close();" type="button" value="close" /></div></body></html>'); w.document.close(); })();
  • /*
     * @title QRコードを表示
     * @description Google Chart API を使ってQRコードを表示。
     * @include http://*
     * @license MIT License
     */
    
    (function(){
    var t=encodeURIComponent(prompt('QR',location.href));
        var w=window.open("about:blank","_blank");
        w.document.open();
        w.document.write('<html><body><div><img src="http://chart.googleapis.com/chart?chs=300x300&cht=qr&chl='+t+'"></div>');
        w.document.write('<div><input onclick="window.close();" type="button" value="close" /></div></body></html>');
        w.document.close();
    })();
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2017/02/02 00:58:31 - 2017-02-02
  2. 2017/02/01 23:19:10 - 2017-02-01
  3. 2017/02/01 23:09:24 - 2017-02-01
  4. 2017/02/01 23:05:31 - 2017-02-01
  5. 2013/10/24 00:29:27 - 2013-10-24
  6. 2013/10/24 00:08:16 - 2013-10-24
  7. 2012/01/19 21:20:03 - 2012-01-19
  8. 2012/01/19 21:09:52 - 2012-01-19
  9. 2012/01/19 20:59:26 - 2012-01-19
  10. 2012/01/19 20:54:32 - 2012-01-19
  11. 2012/01/19 20:52:13 - 2012-01-19
  12. 2012/01/19 20:43:26 - 2012-01-19
  13. 2012/01/19 20:40:28 - 2012-01-19
  14. 2012/01/19 20:40:08 - 2012-01-19
  15. 2012/01/19 20:36:57 - 2012-01-19