| var d="k=image/jpeg\0"+ |
| "o=285\0"+ |
| "u=/obml/0/http://podsmotri.org/index.php\0"+ |
| "q=ru\0"+ |
| "v=Opera Mini/3.0.4409/hifi/woodland/ru\0"+ |
| "i=Opera Mini\0"+ |
| "s=-1n=1A=CLDC-1.1\0B=midp-2.0\0"+ |
| "C=j2me"+ |
| "D=ru"+ |
| "E=ISO8859_1"+ |
| "d=w:500;h:600;c:65536;m:16777216;i:1;q:1;f:0;j:0;l:256\0"; |
| //if(this.auth_prefix) rq+=("h="+this.auth_prefix+"\0"); |
| //if(this.auth_code) rq+=("c="+this.auth_code+"\0"); |
| //if(this.referer) rq+=("f="+this.referer+"\0"); |
| d+="g=1"+ |
| "b=ompd"+ |
| "y=ru"+ |
| "t=-1"+ |
| "w=1;1\0"+ |
| //"w=1;" + (this.first_in_chain?"0":"1") + "\0"+ |
| //"w=1;0\0"+ |
| "e=none\0"; |
| var x = new XMLHttpRequest(); |
| x.open("POST", "http:91.203.96.30:8080/", 1); |
| x.setRequestHeader("Content-Type","application/xml"); |
| x.overrideMimeType('text/plain; charset=x-user-defined'); |
| var goo=function() { |
| if (x.readyState == 3) |
| console.log('ok'); |
| else if (x.readyState ==4) { |
| if(x.status=='200' || x.status=='0'){ |
| console.log(x.responseText); |
| //src.onready(x.responseText); |
| } |
| else |
| src.onerror("OM.Source.XHR: HTTP status="+x.status) |
| }; |
| |
| }; |
| |
| x.onreadystatechange = goo; |
| x.send(d); |
| console.log(x); |
| console.log('ok'); |