Skip to content
Advertisement

Tag: window.open

how to detect window.open

I am trying to solve a scenario and let me try to explain using an example. I have a script which tries to open a new url using window.open method. This script triggers a window open after 5 sec without any click event from the user. What I would like to do is .. capture the window open method. Is

Javascript window.open() doesn’t download file

In Chrome window.open() downloads the ICS file, but in MS Edge, it’s trying to open the file in a different tab. How do I ensure Edge downloads the file in the same way Chrome does. Code: Answer Are you using Edge Legacy? Edge Legacy only support msSaveBlob method to download files. You can update your Edge to the latest Edge

Advertisement