wok diff nanochess/receipt @ rev 11614

nanochess: catch ?black arg (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 21 23:16:13 2012 +0100 (2012-01-21)
parents 06c778aefe9f
children 0686ab55b55a
line diff
     1.1 --- a/nanochess/receipt	Sun Oct 16 07:45:56 2011 +0000
     1.2 +++ b/nanochess/receipt	Sat Jan 21 23:16:13 2012 +0100
     1.3 @@ -18,7 +18,9 @@
     1.4  	  -e 's|for(a=|H=innerHeight/9;P=H*5/6;|' -e 's/^"<table/for(a=&/' \
     1.5  	  -e 's/f0f":"c0c")+"0f0/f0f":"606")+"0c0/' -e 's/e0e0f0/b0b080/' \
     1.6  	  -e 's/><option.*$/>";/' -e 's|^doc.*|for(p=18;++p<23;)a+="<option>\&#98"+p+";</option>";document.write(a);|' \
     1.7 -	  -e 's|<script>|<title>Toledo chess</title>&|' \
     1.8 +	  -e 's|<scrip.*|<title>Toledo chess</title>&\nvar go=/[\\?]b.*/i.test(document.URL)?8:0|' \
     1.9 +	  -e 's|function Y|function Z(){if(y!=go)setTimeout("X(0,0,0,21,u,2),X(0,0,0,21,u,1)",250);}\n&|' \
    1.10 +	  -e 's|if(y)set.*|Z();}}Z()|' \
    1.11  		index.html
    1.12  }
    1.13