microsoft-edge

MS Edge CSS transition flickering

浪尽此生 提交于 2019-11-28 03:44:47
问题 I've noticed a strange issue with CSS transitions in MS Edge. Basically if you have a transition, between hover states for example, but the styles defined for those hover states are over-written in the CSS cascade, Edge will switch to the over-written styling for the duration of the transition, then switch back. The issue is described fairly well here too: https://www.webmasterworld.com/css/4791912.htm I have also created a pen demonstrating the problem: http://codepen.io/powerbored/pen

Microsoft Edge: Get Window URL and Title

一笑奈何 提交于 2019-11-28 00:32:00
Previously I was using ShellWindows() API for IE to get the window Title and URL for my application Now with new development, Microsoft Edge is new and has many features under development. I want to know how I can get the URL and Title of all the pages opened in MS-Edge. As none of the shell APIs are working with MS-Edge. I tried also with UI Automation but it does not return all the UI elements I am using MS Visual Studio 2010 for development. Do I need new version of Visual Studio? Can anybody help me about how to access the Title and URL? Or Does MS-Edge not allow such an access due to

Displaying Blob PDF in Edge/IE11

自作多情 提交于 2019-11-28 00:03:34
问题 I have a django app (from which I get some html as a client), and a base64-encoded PDF which needs to be displayed. I've tried multiple approaches, which work as expected in Chrome/Firefox. I'm working with django, so there will be some templates and some JavaScript. pdf_preview_embed is a div Embed DataURL <embed width=100% height=100% type="application/pdf" src="data:application/pdf;base64, {{ pdf }}"></embed> Unacceptable solution, because it may require inlining megs of data. Works in

getting cannot focus element in chrome and edge using java/selenium

元气小坏坏 提交于 2019-11-27 22:56:09
I am getting a cannot focus element error when running my test in chrome and edge in FF it works fine. I have tried posted resolutions but to no avail. I am not sure what to do about this. Hoping someone out there can help. Thanks in advance. driver.findElement(By.linkText("Add")).click(); List <WebElement> groups = new Select(driver.findElement(By.xpath("/html/body/div[1]/section/div/article/form/fieldset/div[3]/div[2]/div/div/div[1]/select"))).getOptions(); groups.get(3).click(); JavascriptExecutor js = (JavascriptExecutor)driver; WebElement groupRole = driver.findElement(By.xpath("/html

MSHTML DLL on Windows 10

拜拜、爱过 提交于 2019-11-27 20:41:38
问题 I have a C# solution that makes use of Smith Html Editor (I'm developing on the main project which uses this, so I don't know much about this library), which makes a reference to MSHTML. This worked fine until my upgrade to Windows 10 and it can't find MSHTML anymore. I can directly reference the DLL on the GAC folder, and it stops complaining and thus builds, but it's getting some runtime errors related to the editor not instantiating. After a little research, it turns out that MSHTML is

How to target Microsoft Edge with CSS? [duplicate]

限于喜欢 提交于 2019-11-27 17:47:10
This question already has an answer here: How to Identify Microsoft Edge browser via CSS? 4 answers I would like to target Edge and have flexbox behave simliar to Firefox 33 / Chrome, for more detail see this question . Can one target Edge in CSS? Raptor To target Edge, we can check for -ms-ime-align support, Edge being the only Microsoft browser that supports this property: @supports (-ms-ime-align: auto) { .selector { color: red; } } Or this one-liner (that one works on Edge and all IEs also): _:-ms-lang(x), .selector { color: red; } Further explanation, including variants to support

onBeforeUnload not working correctly for Chrome

梦想的初衷 提交于 2019-11-27 16:13:54
问题 I've been using this code for some time and it worked fine until yesterday: window.onbeforeunload = function() { return "¡Atención! Si continúas no podrás volver atrás y podrías perder datos. Revisa todos los campos y termina el trabajo antes de moverte de esta página. ¿Seguro que quieres continuar?"; } The problem now is that Chrome shows this: But Edge shows it the right way: What am I doing wrong? Note: Language is not the problem because I've tried with both English and Spanish. 回答1: You

XMLHttpRequest: Network Error 0x80070005, Access is denied on Microsoft Edge (but not IE)

旧城冷巷雨未停 提交于 2019-11-27 15:27:53
I have a very simple ajax request (see below). The server is using CORS and works fine in IE 10+, Chrome, Firefox and Opera . On Microsoft Edge however, it fails with XMLHttpRequest: Network Error 0x80070005, Access is denied. I have researched the posts here , here , here and here , but cannot find an answer that works. Those people have had issues with IE, but adding the contentType (not required for this get) and crossDomain has it working fine. CanIUse seems to state that CORS is usable in Edge. The request also fails on IE9 down, but CanIUse states only partial support for CORS, so that's

How can I detect Internet Explorer (IE) and Microsoft Edge using JavaScript?

[亡魂溺海] 提交于 2019-11-27 11:59:59
I've looked around a lot, and I understand that there's a lot of ways to detect internet explorer. My problem is this: I have an area on my HTML document, that when clicked, calls a JavaScript function that is incompatible with internet explorer of any kind. I want to detect if IE is being used, and if so, set the variable to true. The problem is, I am writing my code out of Notepad++, and when I run the HTML code in browser, none of the methods for detecting IE work. I think the problem is that I am running it out of Notepad++. I need to be able to detect IE, so that based on the variable, I

Microsoft Edge blocked cross-domain requests sent to IPs in same private network CIDR

大憨熊 提交于 2019-11-27 09:05:46
$.ajax({ url: "http://10.13.22.150/req_path", success: function(result){ console.log(result); } }); I'd like to send Cross-Domain XMLHttpRequest to ip addresses in the private network. However, the following error is shown in developer tools console: SCRIPT7002: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd. According to Wireshark, the packet is not sent from client side. I guess the request is blocked by Microsoft Edge Furthermore, I found that the requests are only blocked if the url of XMLHttpRequest and Edge client are in the same CIDR of