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

#コメント不能になる不具合→nmsg.nicovideo.jp/に送信（POST)されるときのコメントを改変して対応

[Replace]
Name = isPremium [HTML5]
URL = www\.nicovideo\.jp/
EachLine=TRUE
Match<
,&quot;isPremium&quot;:false,
is_premium%3D0
>
Replace<
,&quot;isPremium&quot;:true,
is_premium%3D1
>

[Replace]
Name = isPremium_Comment_Fix [HTML5]
URL = POST/nmsg\.nicovideo\.jp/
Match<
"user_id":(.+?),"premium":1,"postkey"
>
Replace<
"user_id":$1,"postkey"
>

[Style]
Name = watch:プレミアム会員勧誘消去 [HTML5]
URL = www\.nicovideo\.jp/watch/
Append<
.PreVideoStartPremiumLinkContainer { display: none !important;}
>


#[Replace]
Name = PointFake [HTML5][Flash]
URL = www\.nicovideo\.jp/
Match<
<a href="(.+)" class="siteHeaderNicopoBalance"><span>0</span>
>
Replace<
<a href="$1" class="siteHeaderNicopoBalance"><span>10,000,000,000</span>
>


#[Replace]
Name = watch:自動再生テスト [HTML5]
URL = www\.nicovideo\.jp/watch/
Match<
<div id="MainVideoPlayer" class="MainVideoPlayer"><video style=
>
Replace<
<div id="MainVideoPlayer" class="MainVideoPlayer"><video autoplay style=
>