Javascript Windows Phone 8:在“新建”选项卡中打开链接

Javascript Windows Phone 8:在“新建”选项卡中打开链接,javascript,html,css,mobile,windows-phone-8,Javascript,Html,Css,Mobile,Windows Phone 8,我试图通过几种方式实现这一目标,但没有一种方法奏效: <a href="url" target="_blank"/> <a href="javascript:void(0)" onclick="window.open(url)"/> <a href="javascript:void(0)" onclick="window.open(url,'_blank')"/> <a href="javascript:void(0)" onclick="wind

我试图通过几种方式实现这一目标,但没有一种方法奏效:

<a href="url" target="_blank"/>

<a href="javascript:void(0)" onclick="window.open(url)"/>

<a href="javascript:void(0)" onclick="window.open(url,'_blank')"/>

<a href="javascript:void(0)" onclick="window.open(url,'_newtab')"/>

<a href="javascript:void(0)" onclick="window.open(url,'popup','width=640,height=480')"/>
这不可能在windows phone 7上以编程方式控制,但是我需要一个针对windows phone 8的解决方案


非常感谢您的帮助。

在试图找到答案时,我偶然发现了一个在StackExchange上已经回答过的问题。我有一部Windows手机,听到这个答案我有点难过

注意:我知道问题在Windows Phone 8上,答案是指Windows Phone 7,但我相信答案是相同的

Internet Explorer 10与Internet Explorer 10之间有一些细微的区别 适用于Windows Phone的Windows 8和Internet Explorer 10 意识到。用于Windows Phone的Internet Explorer 10不支持 以下是:

  • 通过脚本进行跨选项卡通信(结果是window.open在同一选项卡中打开目标URL)
  • 同样在Internet Explorer 10 for Windows Phone中,Window.open不会返回有效的窗口对象。这是因为每个人都在打电话 “窗口”被隔离在自己的沙箱中

Quote from-打开完整列表的链接。

是否有解决方法来验证是否可以打开新窗口,以便在无法打开时使用回退方法?