08/07/17 15:46:23 xdHSWegf0
検索結果ページで検索ワードが検索フォームにコピーされなくなってたから修正してみた。
[Patterns]
Name = "Nico: Copy Title to Search Form (for DropDown) [2008/7/17] - 186"
Active = TRUE
Multi = TRUE
URL = "(www|tw|live[^.]+).nicovideo.jp/(^(\?g=|)(^?)) $TYPE(htm)"
Limit = 512
Match = "(^(^<h1[^>]+> <a\s[^>]++href=$AV(URLリンク(www.smilevideo.jp))[^>]+> ([^<]+)\1 </a> </h1>"
"|"
"<span\s[^>]++class=$AV(search_word)[^>]+> ([^<]+)\1 </span>$URL(*/(search|tag)/)"
"|"
"$NEST(<a\s[^>]++class=$AV(*tag_b0)[^>]+>, *<div\s[^>]++class=$AV(*tag_b)[^>]+> ([^<]+)\1 </div>* ,</a>)"
"))"
"$SET(FormInputJs=\r\n"
"<script type="text/javascript" defer>\r\n"
"<!--\r\n"
"ENicoInput = document.getElementById\("nicoinput"\);\r\n"
"ENicoInput.value = "\1";\r\n"
"// -->\r\n"
"</script>\r\n"
")(^?)"
"|"
"</html$TST(FormInputJs=?*)"
Replace = "$GET(FormInputJs)$SET(FormInputJs=)</html$STOP()"
>>39
これから修正してみる。