N -info
@@ -1,17 +1,12 @@
/*
- * @title N----
- * @description get back '-' header from idiotic 'Z' header on nicovideo
- * @include http://*.nicovideo.jp/*
+ * @title N -info
+ * @description hidden header info on nicovideo
+ * @include http://live.nicovideo.jp/*
+ * @contributor noromanba http://let.hatelabo.jp/noromanba/let/hJmcte2FoJ8f (Fork of)
* @contributor noromanba
* @license MIT License http://opensource.org/licenses/MIT
*/
-// UserScript
-// https://userscripts.org/scripts/show/153240
-
-// Devel
-// https://gist.github.com/noromanba/4178554/
-
(function () {
if (!/nicovideo\.jp$/.test(location.hostname)) return;
@@ -27,13 +22,5 @@
};
})();
- // TODO handle huge minimum-font-size (15pt+)
- var straighten = function () {
- //*
- addStyle('#siteHeaderNotification .siteHeaderUpgrade { display: none !important;}');
- /*/
- addStyle('#siteHeaderUserNickNameContainer { display: none !important;}');
- //*/
- };
- straighten();
+ addStyle('#infoArea { display: none !important; }');
})();
(function () {
if (!/nicovideo\.jp$/.test(location.hostname)) return;
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'));
};
})();
addStyle('#infoArea { display: none !important; }');
})();
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。