WebScrap

September 19, 2009

不要なものを非表示にするニコニコ動画のStylish

Stylishを適用したニコニコ動画

ニコニコ動画はコミュニティやニコニ広告など様々な機能があるが、私はそういったものをあまり使わずほとんど見るだけなので、不要な機能と広告などを非表示にするStylishを作成した。また、関連するニコニコ大百科のStylishも掲載する。詳細は以下の通り。


ニコニコ動画

  • 全体のフォントを変更
  • リンク表示・リンクホバー色を変更 (オレンジ)
  • 視聴ページのニコニコ大百科の記事、ニコニコ市場の非表示
  • 動画の全画面表示時にコメント入力欄を非表示
  • 検索結果の2列表示のサムネイル画像を大きく
  • 検索結果ページのニコニ広告、右カラムの非表示 
  • 広告・バナーの非表示
@-moz-document domain("nicovideo.jp") {
* {font-family: Tarisaka !important;}/*表示したいフォントを指定する*/
a {text-decoration: none !important;}
a:hover {
color: #ff6600 !important;
background: none !important;
}
select.TXT12 {font-size: 0.75em !important;}
.video {text-decoration: underline !important;}
#PAGEHEADER a {font-size: 0.95em !important;}
.video_w96 {
display: block !important;
min-width: 130px !important;
min-height: 100px !important;
font-size: 0em !important;
}
.foot_pagetop {
visibility: hidden !important;
height: 0 !important;
clear: none !important;
}

td[style="width: 48px;"],
#web_pc_top,
.ads_hide,
#web_pc_premium,
.foot_bg,
#PAGEFOOTER .TXT12,
.content_312 {display: none !important;}
}

@-moz-document url-prefix("http://www.nicovideo.jp/watch") {
h1, .video {font-size: 1em !important;}
.video_des {
line-height: 1.5em !important;
font-size: 0.75em !important;
}
.video_des .video {text-decoration: none !important;}
.nicopedia.__nicopedia_loaded {
margin-right: 2px !important;
color: #666666 !important;
font-size: 0.9em !important;
}
.nicopedia.__nicopedia_loaded:hover {color: #ff6600 !important;}
#mylist_add_group_id {font-size: 0.75em !important;}
#PAGEBODY[style="margin: 0pt; padding: 0pt; width: 100%; height: 100%;"] #flvplayer_container {background: #000000 !important;}
#PAGEBODY[style="margin: 0pt; padding: 0pt; width: 100%; height: 100%;"] #flvplayer {margin-top: 30px !important;}

.ads_468,
.pedia_des_top,
.pedia_des,
#WATCHFOOTER {display: none !important;}
}

@-moz-document url-prefix("http://www.nicovideo.jp/search"), url-prefix("http://www.nicovideo.jp/tag"), url-prefix("http://www.nicovideo.jp/newarrival"), url-prefix("http://www.nicovideo.jp/hotlist"), url-prefix("http://www.nicovideo.jp/recent"), url-prefix("http://www.nicovideo.jp/major_tag"), url-prefix("http://www.nicovideo.jp/related_tag") {
#search_words, .search_word {font-size: 1em !important;}
.vinfo_description {font-size: 0.95em !important;}
#PAGEBODY * {width: auto !important;}
.mb8p4 strong {background: none !important;}
.thumb_frm > p:first-child, .thumb_frm_rank_1 > p:first-child, .thumb_frm_rank_2 > p:first-child {
float: right !important;
margin-top: 3px !important;
}
.thumb_frm > table, .thumb_frm_rank_1 > table, .thumb_frm_rank_2 > table {display: block !important;}
#PAGEBODY > .content_672 > table > tbody > tr > td > div:last-child > table > tbody > tr > td:last-child > p:first-child {margin-top: 15px !important;width: 330px !important;}
#item1[style="width: 144px;"], #item2[style="width: 144px;"], #item3[style="width: 144px;"], #item4[style="width: 144px;"] {width: 222px !important;}

#nicoads {display: none !important;}
}

@-moz-document url-prefix("http://www.nicovideo.jp/mylist") {
#mylists .TXT12 {font-size: 0.8em !important;}
h3 a {
font-size: 0.95em !important;
text-decoration: underline !important;
}
.dot_2 {margin: 4px 0 !important;}
}

ニコニコ大百科

  • 「xxx」を含むブログ、動画数のグラフ、広告の非表示
@-moz-document domain("dic.nicovideo.jp") {
#banner-top, 
#notice,
.word-blog,
#article_chart,
#main > div:last-child,
#banner-side {display:none !important;}
}

2009/10/14 追記:記事の整理のため改題。

0 Coment:

Post a Comment