nico<video> ±info
by
noromanba
2014-08-25 [2014/08/25 10:47:57]
switch landscape/portrait-mode on flash-free Nicovideo player
@@ -1,5 +1,3 @@
-
-
/*
* @title nico<video> ±info
* @description switch landscape/portrait-mode on flash-free Nicovideo player
@@ -18,4 +16,4 @@
// TODO scalable window sticky
// e.g. <video style="min-width: 100%; min-width: 100%;">
-})();
+})();
(function () {
if (!/^sp\.nicovideo\.jp\/watch\//.test(location.hostname + location.pathname)) return;
document.body.classList.toggle('landscape');
})();
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。