Making a window pop under in chrome

前端 未结 8 1220
攒了一身酷
攒了一身酷 2020-12-03 05:55

I have a button that needs to open a new window as a popup (under the parent page). In IE/Firefox, it works fine, but in chrome the popup appears over (on top of) the parent

相关标签:
8条回答
  • The end of popunder is here. Chrome closed it yesterday.

    0 讨论(0)
  • 2020-12-03 06:54
    window.open('http://google.com','','height=500,width=500');
    window.open().close();
    

    Don't use popunders for evil

    0 讨论(0)
提交回复
热议问题