window.open --firefox

Posted ting-log

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了window.open --firefox相关的知识,希望对你有一定的参考价值。

火狐window.open()

window.open("http://baidu.com");直接拦截

chrome、ie等浏览器拦截是在ajax中window.open("http://baidu.com");

----------------------------------------------------------------------------------------------------

火狐

window.open()----改为<a href="url">路径</a>通过a标签打开

或者windwo.location.href="url"(备注这种方式打开的是本页面打开要打开的页面(即本地本页面打开),并没有重打开一个页面)

 

以上是关于window.open --firefox的主要内容,如果未能解决你的问题,请参考以下文章

在window.open打开的窗口里再用window.open办法打开一窗口

window.open被拦截

window.open 传参数

window.open 带标题

IE下js使用window.open拒绝访问

window.open 与 window.location.href