- 13 名前:名無しさん@お腹いっぱい。 mailto:sage [2008/11/06(木) 02:01:37 ID:yaBXVWSO0]
- [Patterns]
Name = "NicoVideo: search form+ (081106)" Active = TRUE Multi = TRUE URL = "www.nicovideo.jp/$TYPE(htm)" Limit = 1600 Match = "$SET(sf_cb=1)" "($TST(sf_cb=0)|$TST(sf_cb=1)$SET(checked= checked))" "$NEST(<form,(\saction="search"*name="ref">)\#*(<td>\0</td>|)\s<td>(<input[^>]++)\1value="\2" (id="bar_search"*)\3>*,</form>)" Replace = "<form name="ph_sf"\#<table cellspacing="0" cellpadding="0"><tr>" "" "<td style="padding:0px 0px 0px 4px;" height="28">" "\1\3 style="width:180px; background:#FFF;" " "value="\2"></td>" "<td style="padding:0px 0px 0px 0px;" nowrap>" "<input type="button" class="submit" style="font-size:12px; height:18px; padding:1px 1px 0px;" " "value="&#26908;&#32034;" onclick='jump("www.nicovideo.jp/search/"+document.ph_sf.s.value,"")'>" "<input type="button" class="submit" style="font-size:12px; height:18px; padding:1px 1px 0px;" " "value="&#12479;&#12464;" onclick='jump("www.nicovideo.jp/tag/"+document.ph_sf.s.value,"")'>" "<input type="button" class="submit" style="font-size:12px; height:18px; padding:1px 1px 0px;" " "value="&#12463;&#12522;&#12450;" onclick="ph_sf.s.value = ''; ph_sf.s.focus();">" "" "</td><td>" "<div style="margin:0px 0px 0px 0px;"><input type="checkbox" name="sf_cb"$GET(checked)></div>\n" "<script type="text/javascript"><!--\r\nfunction jump(URI) {\nif (document.ph_sf.sf_cb.checked) {\n" "if (URI !="default") {window.open(URI);}}\nelse {\nif (URI !="default") {location.href=URI;}}\n}\n--></script>\n" "</td><td nowrap>" "<div style=" margin:3px 4px 0px 0px; font-size:10px; color:#FFF;">&#21029;&#31379;</div>\n" "</td></tr></table></form>$STOP()"
|

|