Hatena TeX to Google chart API HUGE

    @@ -1,5 +1,5 @@ /* - * @title Hatena TeX to Google chart API + * @title Hatena TeX to Google chart API HUGE * @description * @include http://* * @license MIT License @@ -8,6 +8,7 @@ var imgs = document.querySelectorAll('img.tex'); for (var i = 0; i < imgs.length; i++) { - imgs[i].src = 'http://chart.apis.google.com/chart?cht=tx&chl=' + encodeURIComponent(imgs[i].alt); + var texcode = encodeURIComponent(imgs[i].alt) + imgs[i].src = 'http://chart.apis.google.com/chart?cht=tx&chl=' + '\\HUGE ' + encodeURIComponent(imgs[i].alt.replace(/\\[[\]]/g,'')); } void(0)
  • /*
     * @title Hatena TeX to Google chart API HUGE
     * @description 
     * @include http://*
     * @license MIT License
     * @require 
     */
    
    var imgs = document.querySelectorAll('img.tex');
    for (var i = 0; i < imgs.length; i++) {
        var texcode = encodeURIComponent(imgs[i].alt)
        imgs[i].src = 'http://chart.apis.google.com/chart?cht=tx&chl=' + '\\HUGE ' + encodeURIComponent(imgs[i].alt.replace(/\\[[\]]/g,''));
    }
    void(0)
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2011/12/01 01:50:36 - 2011-12-01
  2. 2011/12/01 01:47:20 - 2011-12-01
  3. 2011/12/01 01:46:12 - 2011-12-01
  4. 2011/12/01 01:32:33 - 2011-12-01