microsoft-edge

using @font-face in Microsoft Edge

£可爱£侵袭症+ 提交于 2019-11-30 16:58:56
问题 I am dealing with a strange issue here.. It seems that Microsoft Edge browser doesn't load fonts when I use @font-face. I checked all my computers that run Windows 10 & Microsoft Edge. I checked http://caniuse.com/#search=font%20face It says that font-face is compatible with Edge so I don't know what's going on. In my example I just have a div and its font parameter. CSS @font-face{font-family:'Dosis';font-style:normal;font-weight:200;src:local('Dosis ExtraLight'), local('Dosis-ExtraLight'),

check whether browser is chrome or edge

南笙酒味 提交于 2019-11-30 12:51:28
My current website runs only in Chrome browser, to do this I have checked in following way if (Request.Browser.Browser == "Chrome") { // Allow } But for Edge as well it is returning as "Chrome" only. How can I allow access from only Chrome browser? You can check user-agent and see whether it is Microsoft Edge or not because Microsoft Edge contains Edge/version in it's user-agent string. //get user agent somehow here based on what you are working on userAgent = Request.UserAgent; if (userAgent.IndexOf("Edge") > -1) { // maybe client's browser is Microsoft Edge } sample of Edge user-agent

Visual Studio integrated Javascript debugging with Windows 10 Edge

社会主义新天地 提交于 2019-11-30 11:32:17
问题 Is there any way to enable Visual Studio integrated Javascript debugger with Windows 10 Edge? I mean the feature for stepping through the code, set breakpoints, etc. from inside the Visual Studio IDE. I am using Visual Studio 2012 and 2013, perhaps this can be achieved with 2015? 回答1: TLDR; Once it is running in Edge, use Debug > Attach to Process from Visual Studio Community 2015. Attach to: Script code Available Processes: MicrosoftEdgeCP.exe Steps Optional: Set Edge as your default browser

how to detect IE and Edge browsers in CSS?

守給你的承諾、 提交于 2019-11-30 11:05:02
Is there an standard way to detect IE and Edge browsers in css? I saw responses for detecting in javascript file but I am looking for one in css For IE 9 and lower, load a conditional stylesheet: <!--[if IE]> <link rel="stylesheet" type="text/css" href="ie.css" /> <![endif]--> IE 10 and up doesn't support this, so you have to use media queries: @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10+ CSS */ } For Edge 12-15: @supports (-ms-accelerator:true) { /* Edge 12+ CSS */ } EDIT For Edge 16+ @supports (-ms-ime-align:auto) { /* Edge 16+ CSS */ } The accepted answer

Data URI link <a href=\"data: doesn't work in Microsoft Edge

心不动则不痛 提交于 2019-11-30 11:03:17
This simple code works perfectly everywhere except Microsoft Edge: <a href="data:text/plain;charset=utf-8,Test">link</a> [JSFiddle] In Microsoft Edge I'm getting "That's odd...Microsoft can't find this page" error: Examples from Mozilla documentation also do not working with the same result. Here's the output from Edge console: This error occurs when opening a new edge window, on new tabs it inputs data:text/plain;charset=utf-8,Test as search query into the default search engine. It seems like Microsoft Edge has no definition for data: Does anyone know a solution to this? Update: unfortunately

How to publish Edge extensions on the Windows Store?

久未见 提交于 2019-11-30 10:40:13
问题 Since the Windows 10 Anniversary Update I started developing extensions for Edge. I'd like to publish some of them on the Windows Store however I don't know how. I'm currently sideloading the extension. How do you package it and submit it? 回答1: Updated (2017-07-11): Microsoft rolled out the next stage: It is now possible to submit an extension for review. Updated (2016-12-19): Microsoft Edge has published the packaging documentation, and also mentioned the following: Submitting a Microsoft

Windows Edge and opening a blob url [duplicate]

删除回忆录丶 提交于 2019-11-30 09:10:34
This question already has an answer here: Open links made by createObjectURL in IE11 4 answers I'm getting some odd results when trying to open a new window with a blob url in Windows Edge (20.10240.16384, which is the version in the IE11 VM supplied by Microsoft). var xhr = new XMLHttpRequest(); xhr.open('POST', sourceUrl, true); xhr.responseType = 'blob'; xhr.onload = function(e,form) { if (this.status == 200) { var blob = this.response; var url = window.URL.createObjectURL(blob); var w = window.open(url); } } On the line var w = window.open(url); I'm getting an "Access is denied" error

WebSocket to localhost not working on Microsoft Edge

ぐ巨炮叔叔 提交于 2019-11-30 08:58:12
I've created a simple WebSocket server and am trying to connect to it with the following code: function test(name) { var ws = new WebSocket('ws://localhost:1234'); ws.onopen = function () { ws.send('Hello from ' + name); } } test('Edge'); This works fine from Chrome and IE11 on Windows10 but when I try from Edge, the onopen function isn't called, instead I eventually get the following error: SCRIPT12029: WebSocket Error: Network Error 12029, A connection with the server could not be established This is happening for version 12.10240 of Edge. A similar problem was asked about here but the error

How to pin/unpin Microsoft Edge developer tools in Windows 10

懵懂的女人 提交于 2019-11-30 08:38:51
I have upgraded to Windows 10; had a great experience on installation process. But very strange thing is I am not finding a way to pin (ctrl+9 for IE) the Developer Tools to an existing window with the MS Edge browser app. Is it missing? Correct, pinning/unpinning the F12 developers is not available in current builds of Microsoft Edge (10240). This is a known issue and we are planning to bring it back in a future update. In my laptop , the Microsoft Edge has it pinned. And the icon with the shoutcut (Ctrl+P) is back too. Microsoft Edge 25.10586.0.0 Microsoft EdgeHTML 13.10586 And in my desktop

Microsoft Edge does not allow localhost loopback for websockets

无人久伴 提交于 2019-11-30 04:07:44
问题 I have web-site and desktop application, and I want to connect them by websockets. So my web-site tries to connect to wss://localhost:8080, for example. It works in IE11, but in "MS Edge" I have an error: Cross zone request is not allowed I have this problem on Win10 10240, so the flag "Allow localhost loopback" is enabled by default, and it did not help. When I use CheckNetIsolation LoopbackExempt -a -n="Microsoft.MicrosoftEdge_8wekyb3d8bbwe" or this utility, all works as expected. So, is