--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Static file server running on port 8000 (i.e. http://localhost:8000)
CTRL + C to shut down
Static file server running @ http://localhost:8000/index.html
CTRL + C to shut down
Executing command: open -n -a "Google Chrome" --args --user-data-dir=/tmp/temp_chrome_user_data_dir_for_cordova http://localhost:8000/index.html
gzip
I do not configure the server, nor do I configure Chrome, I assume this is all done through the Browser platform. Perhaps there is a way to do this via config.xml - I'm not sure.
Ray's suggestion in his blog post from a year ago, no longer seem to work, as the implementation of the browser platform has gotten before.
As I noted, if I manually add a Chrome Extension, it works fine, but since it starts up a new version of Chrome, every time I reboot my system I need to add this manually.
I assume that there is a way to do this via Cordova.
Any ideas?
Steve
Not sure who this is meant for.
I agree the cors header or rather the family of headers that make up the cors interaction and the requests come from the server.
The web browser makes a query request to the server, gets the CORS response and then if allowed will make a request. That's the problem the browser has, the request isn't coming from the browser but from the web server attached to the browser.
We still haven't worked it out :(
I've attached an image from HTML5rocks. There is the shortest and best of the answer that show up on the first google search.
IN SHORT, if the client does NOT send a request, nothing happens. It is up to the client (webbrowser) to enforce the protocol. It is a colaborative effort that starts with the client (browser).

--
target = _self: Opens in the Cordova WebView if the URL is in the white list, otherwise it opens in the InAppBrowser.white-list sometimes, but mostly by CSP?Steve
I'd be interested in seeing that. Working through proxy server is on our to do list now.
function getBrowser(target, dataDir) {
dataDir = dataDir || 'temp_chrome_user_data_dir_for_cordova';
var chromeArgs = ' --disable-web-security --user-data-dir=/tmp/' + dataDir;
// var chromeArgs = ' --user-data-dir=/tmp/' + dataDir;
You received this message because you are subscribed to a topic in the Google Groups "phonegap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phonegap/W8zAKXowrJk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phonegap+u...@googlegroups.com.