ʕ•ᴥ•ʔ wall
by
noromanba
2014-12-17 [2014/12/17 03:40:23]
B!KUMA wall on the whole world
-
/*
* @title ʕ•ᴥ•ʔ wall
* @description B!KUMA wall on the whole world
* @include http://*
* @include https://*
* @license MIT License http://opensource.org/licenses/MIT
* @javascript_url
*/
// UserStyle for Stylish by a-kuma3
// http://d.hatena.ne.jp/a-kuma3/20141205/bkumanization
// e.g.
// http://anond.hatelabo.jp/
// http://qiita.com/
(function () {
var addStyle = (function () {
var parent = document.head || document.body || document.documentElement;
var style = document.createElement('style');
style.type = 'text/css';
parent.appendChild(style);
return function (css) {
style.appendChild(document.createTextNode(css + '\n'));
};
})();
var selector = [
'body',
'#body',
//'.body',
'.hatena-body'
].join();
addStyle([
selector,
'{',
'background-image: url(http://bkuma.hatena.ne.jp/images/girls/entry_default_image.png);',
//'background-color: transparent;',
'}'
].join('\n'));
})();
-
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。