Chrome 中第二台显示器上的“window.open"
当我使用 firefox 然后使用 window.open('blah.com','blah','left=-30,top=-300');
时,弹出窗口打开在我的第一个显示器上方但在 chrome 中的第二个显示器中,弹出窗口仅在 left=0,top=0
处打开.chrome 这样做是有原因的吗?我将如何解决这个问题?
When I'm using firefox and then using window.open('blah.com','blah','left=-30,top=-300');
, the popup opens in my second display above my first one but in chrome, the popup just opens at left=0,top=0
. Is there a reason why chrome is doing this and how would I fix the problem?
谢谢!
推荐答案
这是 Chrome 在辅助显示器上打开弹出窗口时的错误.Chrome 的人似乎说这是一个安全问题(尽管这是一个安全问题超出了我的范围).
This is a bug in Chrome when the pop-up window is opened on the secondary monitor. The Chrome folks seem to say that this is a security issue (though how this is a security issue is beyond me).
现在,在不存在的辅助监视器上打开一个弹出窗口,我可以理解这是一个安全问题,但是......无论如何.
Now, opening a pop-up window on a NON-EXISTENT secondary monitor, I could understand is a security issue, but... whatever.
这里是关于此事的讨论链接:
Here's a link to a discussion on the matter:
https://code.google.com/p/chromium/issues/detail?id=137681
相关文章