- 38 名前:名無しさん@お腹いっぱい。 mailto:sage [2010/06/05(土) 11:17:16 ID: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 = "\@" 今まで$は必ずエスケープしないといけないって思ってたけど、予約語以外ならそのままでよかったのか。勉強になった。
|

|