Hatena TeX to Google chart API HUGE

  • /*
     * @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++) {
        imgs[i].src = 'http://chart.apis.google.com/chart?cht=tx&chl=' + '\\HUGE ' + encodeURIComponent(imgs[i].alt.replace(/\\([[\]])/g,'$1'));
    }
    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