gistをHTMLで開く
by
japanetfutan
2015-01-07 [2015/01/07 16:27:38]
gistのページをHTMLページとして開きます
/*
* @title gistをHTMLで開く
* @description gistのページをHTMLページとして開きます
* @include https://gist.github.com/*
* @license MIT License http://opensource.org/licenses/MIT
* @require
*/
(function (){location.href=location.href.replace('https://gist.github.com/','http://bl.ocks.org/');})();
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。