I have tried several workaround, none workable. Please check status on the jira.
Regards, Xing From: Martin Preukschat ([email protected]) [mailto:[email protected]] Sent: Monday, July 11, 2016 8:22 PM To: Xu, Xing <[email protected]>; [email protected] Subject: AW: User agent modification in '2nd window' not working Hi Xu, that's perfect description. Any idea when it get's fixed? I tried to find an workaround,but didn't found any solution. Does maybe someone have an idea for workaround ? Thanks, Martin ________________________________ Von: Xu, Xing <[email protected]<mailto:[email protected]>> Gesendet: Dienstag, 14. Juni 2016 03:48:46 An: Martin Preukschat ([email protected]<mailto:[email protected]>); [email protected]<mailto:[email protected]> Betreff: RE: User agent modification in '2nd window' not working I filed a bug https://crosswalk-project.org/jira/browse/XWALK-7001 about this case. I am not sure if cnet.com will trigger multiple window feature. I tried with below local page(From https://crosswalk-project.org/jira/browse/XWALK-2754), and read the second user agent string with newView.getUserAgentString(), the second user agent is correct. But the new user agent displayed by http://www.whoishostingthis.com/tools/user-agent/ is the default user agent. <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width"> <title>Create Window micro-app</title> <!-- styles --> <!-- scripts --> <script> function openURL () { alert ("opening window"); window.open ("http://www.whoishostingthis.com/tools/user-agent/"); } </script> </head> <body> <div> <button onclick="openURL()">open crosswalk website in new window</button> </div> </body> </html> Regards, Xing From: Crosswalk-help [mailto:[email protected]] On Behalf Of Martin Preukschat ([email protected]<mailto:[email protected]>) Sent: Monday, June 13, 2016 8:29 PM To: [email protected]<mailto:[email protected]> Subject: [Crosswalk-help] User agent modification in '2nd window' not working Hello everyone, i am using embedding API (compile 'org.xwalk:xwalk_core_library:18.48.477.13'). I'm not sure if it is a bug. In my application i need to modify user agent. On the first xwalkview it is working perfectly, but on creating new xwalkview as 'new tab' the modification will be overwritten by 'default' user agent. Example code would be at http://pastebin.com/WJMd98Ur . Thanks, Martin
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
