# nlフィルタ定義(文字コード判定用なのでこの行は削除しないこと)

#original 20170222
#Updated 20170312,20170315,20170430,20170531

[Style]
Name = watch:広告削除CSS
URL = www\.nicovideo\.jp/watch
Append<
/*------------------
広告削除CSS
-------------------*/
.NicoSpotAdContainer , .MiniBannerAdContainer , #SuperBannerAd , .OwnerNicoliveBannerContainer , li.siteHeaderHorizon , .GridCell.BottomContainer-side , 
#ncenq-notification , .UadButtonBalloon , .ActionButton.TwitterShareButton.VideoMenuShareButton, .ActionButton.FacebookShareButton.VideoMenuShareButton , 
.ActionButton.LineShareButton.VideoMenuShareButton , .MarqueeContainer , p.info , p.associate , .FooterContainer , div.videoShareLinks:nth-child(1) > ul:nth-child(1) , 
#liveTopics , .PreVideoStartPremiumLinkContainer{
display:none !important;
}
/*------------------
広告削除CSS(END)
-------------------*/
>

[Replace]
Name = nico:広告削除HTML
URL = www\.nicovideo\.jp
Match<
<img src="[a-z0-9:/._]+" alt="ニコニコ動画プレミアム登録"></a>
>
Replace<
</a>
>

[Style]
Name = 検索:広告削除
URL = www\.nicovideo\.jp/tag/|www\.nicovideo\.jp/search/|www\.nicovideo\.jp/mylist_search/
Append<
/*------------------
検索:広告削除
-------------------*/
div.notice , .share , #web_pc_sidewall_left_base , #web_pc_sidewall_right_base , div.ads , div.alignment{
display:none !important;
}
/*------------------
検索:広告削除(END)
-------------------*/
>

[Style]
Name = nico:トップ画面最適化
URL = (www\.nicovideo\.jp\/?$|www\.nicovideo\.jp\/\?header)
Append<
#sideContents , #textInfo , #personalFrame , #tenku-banner , .chokaigi2017_main , #today , #News_tab , #Blomaga_tab , #pickup , #uadVideo , 
#menuDevice , #enjoy , #enjoy_container , .realdabista_banner , #menuContents , #menuService , #menuR18 , .toPageTopWrap , #footerWrap , 
#pc_uni_top_728x90_south{
display:none !important;
}
>


[Style]
Name = video_top:動画トップ最適化
URL = (www\.nicovideo\.jp\/video_top$|www\.nicovideo\.jp\/video_top\?header$)
Append<
#videoTopBanner , .content.list.ranking , #nsen_ornament , #uad , #new-video , #newworld{
display: none !important ;
}
>

[Style]
Name = ニコニコ全体
URL = www\.nicovideo\.jp/
Append<
.notice{
display:none !important ;
}
>
