4 ms·
There's a URL interface [0] in Web API, but unsupported in IE 11 [1]. [0] https://developer.mozilla.org/en/docs/Web/API/URL https://developer.mozilla.org/en/do
by laktek 10y ago
There's a URL interface [0] in Web API, but unsupported in IE 11 [1].
[0] https://developer.mozilla.org/en/docs/Web/API/URL https://developer.mozilla.org/en/docs/Web/API/URL
[1] http://caniuse.com/#search=URL http://caniuse.com/#search=URL
- JohnDotAwesome 10y agoBe careful with createElement('a') in IE. If the URL contains credentials (username or username and password), it'll throw a security exception. https://support.microsoft.com/en-us/help/834489/internet-explorer-does-not-support-user-names-and-passwords-in-web-site-addresses-http-or-https-urls https://support.microsoft.com/en-us/help/834489/internet-exp...