Hidden window using javascript

前端 未结 3 657
广开言路
广开言路 2020-12-29 10:16

Just wanted to know if it is possible to create a hidden window using javascript?

3条回答
  •  灰色年华
    2020-12-29 10:50

    You can also create a new window visible only in taskbar with this workaround:

    window.open(path.html,'_blank', 'toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,left=10000, top=10000, width=10, height=10, visible=none', ''); 
    

    that open a window in a position not visible by user. I have used this trick different times.

提交回复
热议问题