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 です。