I am building a jQuery mobile app with phonegap.
There is a issue of Unsafe JavaScript attempt to access frame when I tried to access a page in iframe (Maybe webkit). Both of the framed page and parent page are at local,which is start with file:///.I know where is a question like this Unsafe JavaScript attempt to access frame in Google Chrome But I cannot passing the --allow-file-access-from-files switch at startup on my phone.And I also don’t want to deploy my app on internet.Is there any other option to solve this? It should be better that I don’t need to do any modification on the browser.Thanks.
I am building a jQuery mobile app with phonegap. There is a issue of
Share
I’m not sure if Webkit follows the same rules, but there is a precedent.
https://developer.mozilla.org/en/Same-origin_policy_for_file%3a_URIs