问题描述:

Is there any product or tool I can use to test a phonegap application's ajax in chrome? I'd like to keep developing in Chrome, but cross-domain requests are going to kill me here.

Ideally, I could still use chrome, and somehow the ajax would get intercepted and run by a proxy of some sort.

网友答案:

Start chrome using --disable-web-security and you can make cross-site ajax requests. This was broken for a while, but it's fixed again.

网友答案:

use the simulator. If that doesn't suit your needs your best bet is to dev that portion elsewhere on the server, or create the proxy.

相关阅读:
Top