shut up Star-Comments
by
noromanba
2017-05-24 [2017/05/24 07:37:06]
turn off HatenaStar-Comment container
@@ -1,27 +1,15 @@
/*
* @title Shut up Star-Comments
- * @description turn off Hatena::Star-Comments
+ * @description Turn off Hatena::Star-Comments
* @include http://*
* @include https://*.hatena.tld/*
* @license MIT License http://nrm.mit-license.org/2012
- * @require
- * @private stargazing
+ * @author noromanba (https://flavors.me/noromanba)
+ * @require https://userscripts.org/scripts/source/151678.user.js
*/
+// Devel
+// https://gist.github.com/4013032
-(function () {
- var addStyle = (function () {
- var parent = document.head || document.body;
-
- var style = document.createElement('style');
- style.type = 'text/css';
- parent.appendChild(style);
-
- return function (css) {
- style.appendChild(document.createTextNode(css + '\n'));
- };
- })();
-
- // http://s.hatena.ne.jp/help#section5
- addStyle('.hatena-star-comment-container { display: none; }');
-})();
+// UserScript
+// https://userscripts.org/scripts/show/151678
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。