shut up Star-Comments
by
noromanba
2017-05-24 [2017/05/24 07:37:06]
turn off HatenaStar-Comment container
-
/*
* @title shut up Star-Comments
* @description turn off HatenaStar-Comment container
* @include http://*
* @include https://*.hatena.tld/*
* @license MIT License https://nrm.mit-license.org/2012
* @javascript_url
*/
// UserScript
// https://gist.github.com/noromanba/4013032
// c.f.
// https://s.hatena.ne.jp/help#section5
// https://www.hatena.ne.jp/help/star/help#section5
(() => {
// http://let.hatelabo.jp/noromanba/let/hJmehqPZh6wf
const require = (urls) => {
return Array.from(urls, url => {
const script = Object.assign(document.createElement('script'), {
src: url,
});
document.body.appendChild(script);
return script;
});
};
require([
'https://cdn.rawgit.com/noromanba/4013032/raw/shutup-star-comments.user.js',
]);
})();
-
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。