ニコニコ動画専用オミ ..
21:名無しさん@お腹いっぱい。
10/06/05 01:51:08 wc4TCOsE0
やっつけテスト版
[Patterns]
Name = "NicoVideo: search toka 1=>2 2=>3 4=>6 column (100605) test"
Active = TRUE
Multi = TRUE
URL = "www.nicovideo.jp/(search|tag|recent|hotlist|newarrival|myvideo)"
Limit = 16000
Match = "(<div class=$AV(content_672))\0>$SET(#=<table cellpadding="0" cellspacing="0" width="1296"><tr valign="top"><td>"
"<style type="text/css"><!--\n.content_672{width:100%;}\n--></style>\0 >)"
"|(<table cellpadding="0" cellspacing="0" summary="videos">"
"((^<!)?)++<!----> (<table width="672$SET(column=12)$SET(c236=2)"
"|<div[^>]++style="width:(336$SET(column=23)$SET(c236=3)|160$SET(column=46)$SET(c236=6))))\#"
"|</tr> <tr\svalign="top"( style=""|)>"
"|td>((\s<!---->|)\s(<table width="672|<div[^>]++style="width:(336|160)))\0$SET(column=$GET(column)1)"
"($TST($GET(column)=(121|2)11)$SET(#=/tr><tr valign="top" ><td >\0)$SET(column=2)"
"|$TST($GET(column)=(231|3)111)$SET(#=/tr><tr valign="top" ><td >\0)$SET(column=3)"
"|$TST($GET(column)=(461|6)111111)$SET(#=/tr><tr valign="top" ><td >\0)$SET(column=6)|$SET(#=td >\0))"
"|(<td><div style="width:)\#540px; overflow:hidden;">"
"( <p class="font16">*<p class="font12 thumb_num" style="margin:0 0 4px;"> )\0"
"$NEST(<strong>,\1,</strong>)([^<]+$NEST(<span,</span>))\2[^<]+(^(^<nobr>))"
"$SET(#=326px; overflow:hidden;"><p class="font12 thumb_num"><strong>20\1</strong>\2</p>\0)"
"|$NEST((<strong>)\#,\0/\1/\2(\s*)\3,(</strong>)\4)$TST($GET(c236)=2)$SET(#=\0&#24180;\1&#26376;\2&#26085;\3\4)"
22:21の続き
10/06/05 01:52:03 wc4TCOsE0
"|(iv[^>]++style="[^>]++width:|<table width=")\#336"
"$SET(#=328)"
"|(iv[^>]++style="[^>]++width:)\#160"
"$SET(#=156)"
"|(<table width=")\#672$SET(#=100%)"
"|class="img_std(96|128)"(^(^></a></p>))$TST($GET(c236)=(2|6))$SET(#=width="130" height="100" style="border:solid 2px #333;")"
"|(<(span|a)[^>]+>)\#1(\w</(span|a)>[^<]+<(span|a)[^>]+>)\02(\w</(span|a)>[^<]+<(span|a)[^>]+>)\14$SET(#=2\03\16)"
"|(>\s)\#$NEST(<div,(\sclass=$AV(content_312)[^>]++>)\0\1,</div>)$SET(2=</td><td valign="top"><div\0\1</div>)"
"$SET(#=\2</td></tr></table>)$STOP()"
Replace = "\@"
23:名無しさん@お腹いっぱい。
10/06/05 01:58:00 MshI30CK0
>>21-22
ちゃんと機能したよ。thx!
24:名無しさん@お腹いっぱい。
10/06/05 01:58:12 2NxfjN7i0
>>21
マジ乙
25:名無しさん@お腹いっぱい。
10/06/05 02:02:26 So44HQSI0
右上のやつが消えるね↓のやつ
動画の表示: 1列 / 2列 / 4列
26:25
10/06/05 02:03:38 So44HQSI0
タグ検索で
27:名無しさん@お腹いっぱい。
10/06/05 02:09:33 79PEIQJ80
検索画面の右側にある大百科とかコミュニティとか消すフィルターってある?
28:名無しさん@お腹いっぱい。
10/06/05 02:14:13 AyuzxodF0
wikiに書いてある・・・けど一応コピペ
右側部分を消したい場合は”|(<div class=$AV(content_672)〜width="1300">”の"1300"を"984"にして
”$SET(#=\2</td></tr></table>)$STOP()”を”$SET(#=</td></tr></table>)$STOP()”にしてください
29:名無しさん@お腹いっぱい。
10/06/05 02:24:09 79PEIQJ80
見落としてたすまぬ
30:名無しさん@お腹いっぱい。
10/06/05 04:14:48 hBVKA68/0
>>21
GOD
31:名無しさん@お腹いっぱい。
10/06/05 05:39:53 JNZJL+N10
>>21
マジ乙です
32:名無しさん@お腹いっぱい。
10/06/05 07:40:21 ACl1MZII0
>>25
画面の右端にあるぞ
はみ出てるけど
33:名無しさん@お腹いっぱい。
10/06/05 07:53:28 8aeE8XeJ0
履歴を個別に消すフィルタ、このスレで貰ったんですが
効いてないですね・・・ Win7プニル2.9.4です
すごく重宝してたのでどなたかお願いします
Name = "history_remove"
Active = FALSE
Multi = TRUE
URL = "www.nicovideo.jp/history"
Limit = 32767
Match = "\( [%e5][%80][%8b][%e5][%88][%a5][%e3][%81][%ab][%e6][%b6][%88]"
"[%e3][%81][%99][%e4][%ba][%8b][%e3][%81][%af][%e3][%81][%a7]"
"[%e3][%81][%8d][%e3][%81][%be][%e3][%81][%9b][%e3][%82][%93] \)"
"|$NEST(<tr, (valign="top"> $NEST(<td,> <p><a href="watch/\1">"
"<img*,</td>) <td width="100%">)\2\3,</tr>) $SET(0=)$SET(#="
"<tr class="history_remove" id="history_\1" \2"
"<input style="float:right;" type="button" class="submit" value="
""\0x524A;\0x9664;" title="" onclick="history_remove('\1')">\3</tr>)"
"|(^(^</body))$STOP()$SET(#=\n<script>function history_remove(id){"
"Element.remove($('history_'+id).nextSibling);Element.remove($('history_'+id));"
"(Cookie.get('nicohistory')+',').match('^(.*)(,'+id+':[^,]+)(,.*)$');"
"if(RegExp.$2){Cookie.set('nicohistory',RegExp.$1+RegExp.$3.slice(0,-1),"
"9999999999,'.nicovideo.jp','/')}if(document.getElementsByClassName"
"('history_remove').length==0){location.reload()}}\n</script>\n)"
Replace = "\@"
34:名無しさん@お腹いっぱい。
10/06/05 08:42:59 BcZE6UYV0
>>33
>>19でもだめなん?
35:名無しさん@お腹いっぱい。
10/06/05 10:19:11 ke68c9nb0
勉強用に検索用 簡易NGタイトル 作ってみた 確認求む search toka 1=>2 2=>3 4=>6との併用は確認してないので、あしからず
[Patterns]
Name = "Nico: NGtitle (100605)test a1 search only"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)www.nicovideo.jp/(^related_tag|watch)"
Limit = 4096
Match = "$NEST(<td,*(class=$AV(font(12|14|16))*><a\s[^>]++href=$AV(watch/$LST(NGtitle))|class=$AV(vinfo_title)[^<]++$LST(NGtitle)|title=$AV(*$LST(NGtitle)*))*,/td>)"
"|(<span style="background:#191F1F;)\#$SET(ng=)"
"|</tr>\s<tr\svalign=$AV(top)>$URL(URLリンク(www.nicovideo.jp)(newarrival|recent|search|tag|?g=(^all)))"
"|(^(^<td>\s<!---->\s<table\swidth=$AV(672)))$SET(ng=$GET(ng)1)$TST(ng=11)$SET(#=</tr><tr valign="top" style="">)$SET(ng=)"
"|(^(^<td>\s<!---->\s<div\sstyle=$AV(width:336px; overflow:hidden;)))$SET(ng=$GET(ng)1)$TST(ng=111)$SET(#=</tr><tr valign="top" style="">)$SET(ng=)"
"|(^(^<td>\s<!---->\s<div\sclass=$AV(mb8p4)\sstyle=$AV(width:160px; overflow:hidden;)))$SET(ng=$GET(ng)1)$TST(ng=11111)$SET(#=</tr><tr valign="top" style="">)$SET(ng=)"
""
"|(^(^<div\sclass="content_312"))$SET(ng=)$STOP()"
Replace = "\@"
追記 投稿者の説明文にも反応するので、1,2列と4列表示では、表示総数が違う場合もあります。反応させたくない場合は
|title=$AV(*$LST(NGtitle)*)を削除してください
36:名無しさん@お腹いっぱい。
10/06/05 10:31:12 qMo9S/bc0
>>35
問題なく機能してるみたい。これはありがたい。
37:名無しさん@お腹いっぱい。
10/06/05 11:09:07 DoC4N1P3P
>>21
乙
ついでに検索結果のスライドショウ消しも頼む…
38:名無しさん@お腹いっぱい。
10/06/05 11:17:16 bqFp5Tgb0
>>34
>>19の修正+1件目が消せなかったのを修正。
[Patterns]
Name = "history_remove"
Active = TRUE
Multi = TRUE
URL = "www.nicovideo.jp/history"
Limit = 32767
Match = "\( [%e5][%80][%8b][%e5][%88][%a5][%e3][%81][%ab][%e6][%b6][%88]"
"[%e3][%81][%99][%e4][%ba][%8b][%e3][%81][%af][%e3][%81][%a7]"
"[%e3][%81][%8d][%e3][%81][%be][%e3][%81][%9b][%e3][%82][%93] \)"
"|$NEST(<tr, (valign="top"> $NEST(<td,> <p><a href="watch/\1">"
"<img*,</td>) <td width="100%">)\2\3,</tr>) $SET(0=)$SET(#="
"<tr class="history_remove" id="history_\1" \2"
"<input style="float:right;" type="button" class="submit" value="
""\0x524A;\0x9664;" title="" onclick="history_remove('\1')">\3</tr>)"
"|(^(^</body))$STOP()$SET(#=\n<script>function history_remove(id){"
"Element.remove($('history_'+id).parentNode.parentNode);"
"(','+Cookie.get('nicohistory')+',').match('^(.*)(,'+id+':[^,]+)(,.*)$');"
"if(RegExp.$2){Cookie.set('nicohistory',RegExp.$1+RegExp.$3.slice(0,-1),"
"9999999999,'.nicovideo.jp','/')}if(document.getElementsByClassName"
"('history_remove').length==0){location.reload()}}\n</script>\n)"
Replace = "\@"
今まで$は必ずエスケープしないといけないって思ってたけど、予約語以外ならそのままでよかったのか。勉強になった。
39:名無しさん@お腹いっぱい。
10/06/05 11:30:32 bqFp5Tgb0
>>38
修正が完璧じゃなかった。けど、特にエラーも出てないし目に見える不具合もないな・・
(','+Cookie.get('nicohistory')+',').match('^(.*,)('+id+':[^,]+)(,.*)$');
if(RegExp.$2){Cookie.set('nicohistory',RegExp.$1.slice(1)+RegExp.$3.slice(0,-1),
>>35
title属性に入っている説明文だけど、ニコニコ側で["]がまだ&quotになってないから(もしかしたらずっとこのままかもしれないけどw)
$AVだと時々残る可能性あり。
40:名無しさん@お腹いっぱい。
10/06/05 11:48:03 kJkI4vHi0
>>38,39
完璧、ぐっじょぶ
41:名無しさん@お腹いっぱい。
10/06/05 12:14:44 ke68c9nb0
>>39
指摘ありがとうございます tiltle属性のは、オマケみたいに考えていたので、そんなことがあるとは思いもしませんでしたw
|title=$AV(*$LST(NGtitle)*) → |title="*$LST(NGtitle)*"> に変更でどうでしょうか? 該当するよう動画が見つからず、確認出来てなく申し訳ないですが
42:名無しさん@お腹いっぱい。
10/06/05 13:44:22 uJ0qrKiu0
[Patterns]
Name = "Nico: border (100605)"
Active = TRUE
Multi = TRUE
URL = "www.nicovideo.jp/(search|tag|recent|hotlist|newarrival|myvideo|my/mylist)"
Limit = 4096
Match = "<div\sstyle=$AV(width:336px;\soverflow:hidden;)>$SET(#=<div style="width:324px; overflow:hidden; border:solid 1px; border-color:#CFCFCF; margin:2px;">)"
"|<div\sclass=$AV(mb8p4)\sstyle=$AV(width:160px;\soverflow:hidden;)>"
"$SET(#=<div class="mb8p4" style="width:154px; overflow:hidden; border:solid 1px; border-color:#CFCFCF; margin:4px;">)"
"|<p\sclass=$AV(vinfo_last_res_col2)>$SET(#=<p class="vinfo_last_res_col2" style="margin:4px;">)"
"|<div\sclass=$AV(SYS_box_item)$SET(#=<div class="SYS_box_item" style="border:solid 1px; border-color:#CFCFCF; margin:4px;")"
Replace = "\@"
境界線(枠)付け。2、4列とマイリス
search toka 1=>2 2=>3 4=>6 columnと併用たぶんOK
43:名無しさん@お腹いっぱい。
10/06/05 14:36:24 79PEIQJ80
>>42
見やすくなった
6列で作動確認
44:名無しさん@お腹いっぱい。
10/06/05 18:32:48 5XSSw8H80
URLリンク(www.nicovideo.jp)ってURLはいまはもう変更されてるよ
最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5392日前に更新/22 KB
担当:undef