QRコード for star URL

    @@ -7,8 +7,7 @@ */ (function(){ - var t='http://s.hatena.ne.jp/mobile/entry?is_touch=1&uri='+encodeURIComponent(location.href); - var t=encodeURIComponent(t); +var t=encodeURIComponent('http://s.hatena.ne.jp/mobile/entry?is_touch=1&uri='+encodeURIComponent(location.href)); var w=window.open('about:blank','_blank','width=325, height=350'); w.document.open(); w.document.write('<html><body><div><img src="http://chart.googleapis.com/chart?choe=Shift_JIS&chs=300x300&cht=qr&chl='+t+'" alt="" height=300 width=300></div>');
  • /*
     * @title star URL to QRコード
     * @description 今見ているページにスターを付けるURLのQRコードを表示する
     * @include http://*
     * @license MIT License
     * @require 
     */
    
    (function(){
    var t=encodeURIComponent('http://s.hatena.ne.jp/mobile/entry?is_touch=1&uri='+encodeURIComponent(location.href));
        var w=window.open('about:blank','_blank','width=325, height=350');
        w.document.open();
        w.document.write('<html><body><div><img src="http://chart.googleapis.com/chart?choe=Shift_JIS&chs=300x300&cht=qr&chl='+t+'" alt="" height=300 width=300></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. 2012/03/21 18:03:15 - 2012-03-21
  2. 2012/03/21 17:22:32 - 2012-03-21
  3. 2012/03/06 15:54:01 - 2012-03-06
  4. 2012/03/06 15:50:44 - 2012-03-06
  5. 2012/03/06 15:48:11 - 2012-03-06
  6. 2012/03/06 11:50:46 - 2012-03-06
  7. 2012/03/05 15:00:45 - 2012-03-05
  8. 2012/03/05 14:53:27 - 2012-03-05
  9. 2012/03/05 14:44:30 - 2012-03-05
  10. 2012/03/05 14:41:16 - 2012-03-05