Firefox 扩展:http://mikelsv.ru/extension_ci.xpi (update: var site_url="you site/php_code.php"; in chrome\content\accelerator.js )
PHP 代码:pastebin.com/hbSNfp1e
如何工作:
<br>
PHP: form method=post action=https://java.shadowlands.ru/zombievk/items?compress=true&lang=ru
extension: if(http-on-examine-response && url=='shadowlands...') new TracingListener();
<br>TracingListener.onDataAvailable(){ this.receivedData.push(data); }
<br>TracingListener.onStopRequest(){ send_post_data(this.receivedData.join()); to site_url; }
PHP: $postdata = file_get_contents("php://input");
<br> gzuncompress(base64_decode($data)));
问题:gzip 数据损坏。如果:form action=.../items?compress=true&lang=<b>en</b>
我需要做什么来解决这个问题?