![open popup window javascript open popup window javascript](https://i.stack.imgur.com/dcsRS.png)
#Open popup window javascript windows
Please note that external document content is only accessible for windows from the same origin (the same protocol://domain:port).įor windows with URLs from another sites, we are able to change the location by assigning newWindow.location=., but we can’t read the location or access the content.
![open popup window javascript open popup window javascript](https://1.bp.blogspot.com/-mhQZGjIfpn8/XTSV6i32gmI/AAAAAAAAABA/uL4-PQVzKngW9AwNQH3LlZWvPJoNazT3gCLcBGAs/s1600/popupscript.png)
Let’s open a window with minimal set of features just to see which of them browser allows to disable: There is also a number of less supported browser-specific features, which are usually not used. scrollbars (yes/no) – allows to disable the scrollbars for the new window.resizable (yes/no) – allows to disable the resize for the new window.status (yes/no) – shows or hides the status bar.
![open popup window javascript open popup window javascript](https://i.stack.imgur.com/lfoIJ.png)
FF and IE don’t allow to hide it by default.