Skip to content
Advertisement

Tag: microsoft-edge

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

Rangy selection not working on Microsoft Edge

The below code snippet is working well for all browsers except Microsoft Edge. Is there anything we need to specifically add for Edge? Answer After a lot of research, came to solution that rangy.createHighlighter() without any parameters won’t work for Edge. You need to specify the “TextRange” additional parameter (see below). The default is “textContent”. Reference: https://github.com/timdown/rangy/wiki/Highlighter-Module

Microsoft Edge not displaying

I have a button that creates a new tab and loads some simple HTML and an iframe with a data URI passed into it. The new tab opens and I can see that this is all displayed in the DOM using the navigation tools (F12). However the Iframe does not display in Edge browser. I receive the errorHTTP404: NOT FOUND

Advertisement