0 Replies Latest reply on May 8, 2016 8:25 AM by bau720123

    seem windows platform restrict the cross domain access

    bau720123 Level 1

      a simple code

      I am using phonegap build cli 6.0.0

       

      <!doctype html>

      <html>

      <head>

      <meta charset="utf-8">

      <title>XXX</title>

      <script src="cordova.js" type="text/javascript"></script>

      <script type="text/javascript">

      document.addEventListener("deviceready", initialize, false);

      function initialize()

      {

      window.location = "http://www.google.com";

      }

      </script>

      </head>

      <body>

      </body>

      </html>

       

      in Android and iOS,it will go to the google webpage immediately

      but in Windows,when I execute it,it have no any response