microsoft-edge

SEC7117 Error when trying to load a javascript file in MS Edge

怎甘沉沦 提交于 2019-11-28 11:54:45
I'm getting this error when trying to load a javascript file from another server when using microsoft edge. I have a feeling it's related to the server being http instead of https, but I'm not sure. It works in IE (after allowing unsecured content), but I can't find an option in Edge to allow unsecured content. This is the error I'm receiving: SEC7117: Network request to http://servername/whatever.js did not succeed. This Internet Explorer instance does not have the following capabilities: privateNetworkClientServer Thanks in advance for your help! It may have something to do with mixing the

Instantiate File object in Microsoft Edge

一个人想着一个人 提交于 2019-11-28 11:26:00
I'm trying to create an image file from a blob-object using the File API and then add it to a form to be sent via XHR. Works like a charm in chrome, but crashes the app in Microsoft Edge. let file = new File([blobContent], "image.png"); let form = new FormData(); form.append("file", file); Are there any alternatives to the File API or workarounds to attach a file to the form? If I just add the blob to the form it's not recognized as an image. Thanks! Currently IE11, and Edge support the FileAPI but not the File constructor. In the link that you posted to caniuse.com , there are notes for IE

D3 append HTML not working in edge browser

扶醉桌前 提交于 2019-11-28 10:20:43
问题 I have a chart created using d3 that I need to use some HTML inside of which works fine in Chrome but edge does not display the HTML and I don't know why. Here is a JSFiddle that shows the issue, works in Chrome does not in edge.. Here is the code in fiddle: <!DOCTYPE html> <body> <div id="chart"></div> <script src="//d3js.org/d3.v3.min.js"></script> <script> (function(d3) { 'use strict'; var dataset = [ { label: 'Abulia', count: 10 }, { label: 'Betelgeuse', count: 20 }, { label: 'Cantaloupe'

Disabled button is clickable on Edge browser

安稳与你 提交于 2019-11-28 07:37:26
问题 I have problem with Edge browser. In my web site I have buttons with span tags inside them. In this span tags I bind text and icons. So far I had no problem but on Edge browser it is possible to click on disabled buttons. After investigating problem I found out that, when button contains span tags inside, it is possible to click on button. Here is how it looks on my web site: <button id="btnRefresh" type="button" class="btn btn-primary" ng-click="refresh()" ng-disabled="performingAction">

How to target Windows 10 Edge browser with javascript

懵懂的女人 提交于 2019-11-28 07:13:14
I know you should do feature detection where possible, but can you detect in Javascript if the browser is the Microsoft Edge browser? I maintain an old product and I want to display a warning that some features could be broken without having to invest a lot of time fixing the old code. sandstrom Try to detect features instead of a specific browser. It's more future-proof. Only rarely should you use browser detection. With that out of the way: one option is to use a library (there are many intricacies to User Agent strings), or alternatively to parse window.navigator.userAgent manually. Using a

Will Microsoft Edge and Windows 10 support HTA?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-28 07:09:12
问题 I'm working on an HTML Application for Windows 8.1, and, as our office soon will use Windows 10, I'm wondering if MS Edge and Windows 10 still support HTA. 回答1: No. However, you can still run legacy HTAs in IE9 mode. For new development using web technologies, Microsoft is recommending a switch to Windows Store Apps. Here's what Microsoft had to say about HTA support in IE10 and later: The Internet Explorer team is increasingly focused on standards compliance, and markup-based behaviors are

Why are CORS requests failing in Microsoft Edge but working in other browsers?

时间秒杀一切 提交于 2019-11-28 06:33:56
I'm using jQuery to send cross origin ajax requests and they're working fine in IE11, Chrome and Firefox but they fail in Edge with the following error: SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied. What's interesting is that I used Fiddler to try to figure out what was going on and when Fiddler is running and capturing requests everything works fine. As soon as I close Fiddler or pause capture it fails again. The site is running on my local machine (webpack-dev-server) making requests across the local network to a WebAPI service. My hosts file is set up like this:

getUserMedia not working on new browsers

假如想象 提交于 2019-11-28 06:31:47
问题 I am playing around with HTML Media Capture and the getUserMedia method. It is not working with Chrome and I get the alert included on failure. Here is the sample code I used: if (navigator.getUserMedia) { navigator.getUserMedia( // constraints { video: true, audio: true }, // successCallback function (localMediaStream) { var video = document.querySelector('video'); video.src = window.URL.createObjectURL(localMediaStream); // Do something with the video video.play(); }, // errorCallback

What is the User Agent string name for Microsoft Edge?

眉间皱痕 提交于 2019-11-28 06:08:40
I'm making a website and I want it to be compatible with the forthcoming Microsoft Edge when it comes out officially. To be more specific, the mobile version of it. Does anyone know what string will identify the Edge Mobile Browser (for example, "IE Mobile" identifies the mobile version of the Internet Explorer). Dave Voyles - MSFT Microsoft Edge UA string: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10136 I detail why in this blog post. Neowin recently reported that Microsoft’s new browser for Windows 10, Spartan, uses the

Can't open localhost in Microsoft Edge (Project Spartan) in Windows 10 preview

非 Y 不嫁゛ 提交于 2019-11-28 05:11:34
I installed Windows 10 preview and installed IIS. Open " http://localhost " in Project Spartan can't connect. IE has no problem. What's the problem? So the issue is Spartan Edge doesn't have access to the loopback addresses, which is something that most Windows Store apps are blocked from accessing. If you are using Windows 10 RTM or build 10166, this can be done by navigating to about:flags and checking "Allow localhost loopback": Image courtesy of Ryan Joy and used with consent . If you are using a previous build of Windows 10, the CheckNetIsolation tool can be used to add it to the