TAB visualizer

    @@ -8,7 +8,9 @@ */ // e.g. http://ltsv.org or related sites -Array.prototype.slice.call(document.querySelectorAll('code, pre')).forEach(function (area) { +(function () { var symbol = '<TAB>'; - area.textContent = area.textContent.replace(/\t/, symbol); -}); + Array.prototype.slice.call(document.querySelectorAll('code, pre')).forEach(function (area) { + area.textContent = area.textContent.replace(/\t/, symbol); + }); +})();
  • /*
     * @title TAB visualizer
     * @description visualize hard-tab
     * @include http://*
     * @include https://*
     * @license MIT License
     * @require 
     */
    
    // e.g. http://ltsv.org or related sites
    (function () {
        var symbol = '<TAB>';
        Array.prototype.slice.call(document.querySelectorAll('code, pre')).forEach(function (area) {
            area.textContent = area.textContent.replace(/\t/, symbol);
        });
    })();
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2013/02/09 22:40:02 - 2013-02-09
  2. 2013/02/09 22:36:50 - 2013-02-09