MakeGeo
-
/*
* @title MakeGeo
* @description remember GeoCities
* @include http://*
* @include https://*
* @contributor kei-s http://let.hatelabo.jp/kei-s/let/gYC-x7nwwf3nFQ (Fork of)
* @license MIT License https://opensource.org/licenses/MIT
* @javascript_url
*/
// 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 です。