MakeGeo

    @@ -2,10 +2,40 @@ * @title MakeGeo * @description remember GeoCities * @include http://* - * @require http://divshot.github.io/geo-bootstrap/swatch/bootstrap.min.css - * @contributor kei-s http://let.hatelabo.jp/kei-s/let/gYC-x7nwwf3nFQ (Fork of) - * @author noromanba http://let.hatelabo.jp/noromanba/let/gYC-y76Mv7PbCQ - * @license MIT License http://opensource.org/licenses/MIT + * @include https://* + * @contributor kei-s http://let.hatelabo.jp/kei-s/let/gYC-x7nwwf3nFQ (Fork of) + * @author noromanba http://let.hatelabo.jp/noromanba/let/gYC-y76Mv7PbCQ + * @license MIT License http://opensource.org/licenses/MIT */ -// c.f. http://divshot.github.io/geo-bootstrap/ +// c.f. +// https://github.com/divshot/geo-bootstrap/ +// https://divshot.github.io/geo-bootstrap/ + +// e.g. +// https://hacks.mozilla.org/ + +(() => { + 'use strict'; + + // TODO merge into js loader + // http://let.hatelabo.jp/noromanba/let/hJmehqPZh6wf + const require = (sources) => { + const wall = document.head || document.body || document.documentElement; + + Array.from(sources, (src => { + wall.appendChild(Object.assign(document.createElement('link'), { + rel: 'stylesheet', + href: src, + })); + })); + }; + + // https://github.com/divshot/geo-bootstrap/tree/master/swatch + // https://divshot.github.io/geo-bootstrap/swatch/bootstrap.min.css + require([ + 'https://cdn.rawgit.com/divshot/geo-bootstrap/master/swatch/bootstrap.min.css', + 'https://cdn.rawgit.com/divshot/geo-bootstrap/master/swatch/bootstrap-responsive.min.css', + ]); +})(); +
  • /*
     * @title MakeGeo
     * @description remember GeoCities
     * @include http://*
     * @include https://*
     * @contributor kei-s       http://let.hatelabo.jp/kei-s/let/gYC-x7nwwf3nFQ (Fork of)
     * @author      noromanba   http://let.hatelabo.jp/noromanba/let/gYC-y76Mv7PbCQ
     * @license MIT License     http://opensource.org/licenses/MIT
     */
    
    // c.f.
    // https://github.com/divshot/geo-bootstrap/
    // https://divshot.github.io/geo-bootstrap/
    
    // e.g.
    // https://hacks.mozilla.org/
    
    (() => {
        'use strict';
    
        // TODO merge into js loader
        // http://let.hatelabo.jp/noromanba/let/hJmehqPZh6wf
        const require = (sources) => {
            const wall = document.head || document.body || document.documentElement;
    
            Array.from(sources, (src => {
                wall.appendChild(Object.assign(document.createElement('link'), {
                    rel: 'stylesheet',
                    href: src,
                }));
            }));
        };
    
        // https://github.com/divshot/geo-bootstrap/tree/master/swatch
        // https://divshot.github.io/geo-bootstrap/swatch/bootstrap.min.css
        require([
            'https://cdn.rawgit.com/divshot/geo-bootstrap/master/swatch/bootstrap.min.css',
            'https://cdn.rawgit.com/divshot/geo-bootstrap/master/swatch/bootstrap-responsive.min.css',
        ]);
    })();
    
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2017/03/28 02:41:45 - 2017-03-28
  2. 2017/03/28 02:27:52 - 2017-03-28
  3. 2017/03/28 02:24:27 - 2017-03-28
  4. 2013/04/10 07:04:52 - 2013-04-10
  5. 2013/04/10 07:04:05 - 2013-04-10
  6. 2013/04/10 06:51:06 - 2013-04-10