internet-explorer-11

IE 11 lock the file when using HTML input=file tag

廉价感情. 提交于 2019-12-21 19:15:54
问题 I choose the file using browse in the file input in IE11 I deleted the file using shift+delete in the Explorer Then when I refresh the folder, the file that I deleted reappear again in Explorer. Is there anyway that I can release the file handle by at the client side javascript? I tried that test in IE 8 but that issue didn't occurred. Any kind help is appreciated. 回答1: I could release the file handler as following in IE 11. document.getElementById("fileToUpload").value=""; // input file

How to decrypt data from the result of an IE 11 encrypt operation using AES-GCM

被刻印的时光 ゝ 提交于 2019-12-21 17:06:34
问题 I've managed to encrypt some data with AES-GCM using IE 11 on Windows 10 but I can't get decryption to work. Example encryption JS code: let plainText = new Uint8Array([1]); let key; let keyBuf = window.msCrypto.getRandomValues(new Uint8Array(32)); let iv = window.msCrypto.getRandomValues(new Uint8Array(12)); let additionalData = window.msCrypto.getRandomValues(new Uint8Array(16)); let encResult; let importOp = window.msCrypto.subtle.importKey('raw', keyBuf, { name: 'AES-GCM' }, false, [

Fixed position misbehaviour in IE11

爷,独闯天下 提交于 2019-12-21 12:14:27
问题 I am experiencing elements position misbehaviour into my page, in IE(11) only; live link here. The logotext, the menu and the left sidebar text, remain in place doesn't move with the wrapper when the left slider is open (clicking on info+ button). I've read about position: fixed + transition in IE problems. I've tried to apply position: expression(fixed); to the header but something went wrong and the wrapper receive a brake-movement at open/closing slider. (The sidebar didn't work with

IE 11 Pointer Events Override

为君一笑 提交于 2019-12-21 09:31:45
问题 I am trying to override the pointer-events property for a containing div. It works in everything so far except IE 11. Supposedly, the pointer-events property was added to IE 11. For some reason, it won't override though. .divstyle { pointer-events: none; } .buttonstyle { pointer-events: auto; } <div class="divstyle"> <table> <tr><td> <input type="button" class="buttonstyle" value="test"> </td></tr> <tr><td> <!-- A BUNCH OF CONTENT THAT I DON'T WANT TO HAVE POINTER EVENTS --> </td></tr> <tr>

Why is React's onChange event not fired on Selenium WebDriver's SendKeys in IE 11?

你说的曾经没有我的故事 提交于 2019-12-21 09:08:23
问题 We have a relatively simple React component with an input element in it: export class MyInput extends Component { componentDidMount() { function log(e) { console.log(`Event: ${e.type}, isTrusted: ${e.isTrusted}, input value: ${e.target.value}`, e); } this.rawInput.addEventListener("change", log); this.rawInput.addEventListener("input", log); } onChanged(e) { console.log("raw-input.onChanged: e.target.value", e.target.value); this.props.onChanged(e.target.value); } render() { return ( <div

CSS custom properties polyfill for ie11

二次信任 提交于 2019-12-21 07:11:43
问题 Is there a way to pollyfill a custom CSS property for ie11 with JavaScript? I was thinking on load, check if browser supports custom properties and if not do some kind of find and replace on the properties. Is this possible with JavaScript or some library? Thanks 回答1: You didn't mention how you're bundling your JavaScript, but yes, it's possible. For example, PostCSS has a plugin, which polyfills this feature. The usage depends on how you're bundling your script files. With Webpack, for

IE11 intermittently not loading pages

依然范特西╮ 提交于 2019-12-21 05:37:25
问题 Many of our users are reporting that they are getting a blank page when using IE11 to access our website. Sometimes they don't even get a blank page, the browser just stays on the last page visited. These users can access other domains (such as google.com) without a problem. For the browsers that are failing, if those users disable Protected Mode in IE, then they can again access our site, but this isn't a good solution because we have thousands of users and we can't go telling each of them

Internet Explorer 11 gives script error in PageRequestManager.js

会有一股神秘感。 提交于 2019-12-21 05:27:09
问题 I'm using ASP.NET 4.5 on the server and I have a .NET Windows application with a Web Browser control that navigates to the web page on the server. If I run the Windows application on a system with Internet Explorer 11, I get a script error: "Object doesn't support property or method 'attachEvent'" when navigating to another page. The script file is ScriptResource.axd so it isn't any of my scripts. I do know that Internet Explorer 11 doesn't support attachEvent anymore (replaced with

Iframe cuts at the bottom when printing in IE

北城余情 提交于 2019-12-20 12:30:16
问题 On IE11 printing the page below, cuts the iframe at the bottom rather than letting it expand to the next page. How can I prevent that and make it print everything? Note: to reproduce this issue, just paste the code below into notepad and open it in IE <html > <head> <style> .myiframe{ width:100%; height:6000px; } </style> </head> <body> <div> <a href="javascript:print()" ><h1>Print</h1></a> </div> <iframe class="myiframe" id="myiframe" scrolling="no" src="https://en.wikipedia.org/wiki/Wiki"/>

How can I fully test my website on previous versions of IE with IE 11?

旧街凉风 提交于 2019-12-20 10:34:21
问题 With IE 10 testing my website on older versions of IE was very easy and always worked as it should, I just went to the developer tools, picked the version I wanted from the menu and I had no problems. Now, after upgrading to IE 11 I encountered some problems with this method of testing. First, stuff I put inside HTML comments like <!--[if lt IE 10]> don't show anymore. Second, the same website that I tested a few days ago on older versions of IE with IE 10 looks very different when doing the