internet-explorer-11

download img throught hyperlink <a> in IE11 using javascript

对着背影说爱祢 提交于 2019-11-28 11:37:57
The following code works well for Google Chrome but not for IE11. <!DOCTYPE html> <html> <head> <title>title</title> </head> <body> <img id="img1" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAASUlEQVRo3u3PAQ0AIAwDsIGC+TcL LkhOWgddSU6Ga5udT4iIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIi8cQEjUgGT mE6z3QAAAABJRU5ErkJggg==" /> <script> var a = document.createElement('a'); var image = document.getElementById('img1'); a.setAttribute('href', image.src); a.setAttribute("download", 'fileName'); document.body.appendChild(a); a.click(); document.body.removeChild(a); <

Flexbox max-height issue with IE11

雨燕双飞 提交于 2019-11-28 10:33:11
I'm trying to code a search menu separated in three parts. Each part will have a scrollbar if there's not enough vertical space for the results to display. In Chrome and Firefox, each menu displays its scrollbar, but on IE11, the menus overlap the wrapper. I've coded a sample which works on Chrome and Firefox (Firefox was tricky, I needed to add overflow: hidden on multiple levels of the menu). .flex-wrapper { display: flex; margin: 20px auto; width: 1184px; max-height: 80vh; border: 2px solid red; min-height: 150px; } .flex-wrapper .flex-wrapper-inner { display: flex; width: 100%; flex

Is there a way to detect the new IE version on Windows Phone 8.1 Update 2?

房东的猫 提交于 2019-11-28 10:13:00
问题 Every update to Windows Phone brings new features/bugs to the internal Internet Explorer. We wish to know a way to detect 8.1 Update 2 (GDR2). Presumably there is a feature or bug that can be sniffed for one of: a feature added into GDR2, or a bug in GDR1 now fixed in GDR2, or detect a bug added to GDR2 (unstable sniff, so much less desirable because bug likely to be patched). Note The changelist given by microsoft. Also note feature detection is used when possible, but sniffing is still

Trouble making my parser scroll downward

懵懂的女人 提交于 2019-11-28 10:04:21
问题 I've written a script in vba to parse some information from a webpage. The thing is before scraping any information from that webpage I need to make my scraper scroll downward for few times. Here is where I'm stuck. The portion I need to make scroll is the left sided window. Any help would be greatly appreciated. Website Link Here is my try: Sub Make_Scroll() Dim HTML As HTMLDocument, post As Object Dim Scroll As Object, URL$ URL = "replace_with_above_link" With CreateObject("InternetExplorer

Internet Explorer 11 won't set cookies on a site

浪尽此生 提交于 2019-11-28 08:56:33
For some reason IE11 (only IE11, tested with other IE9 and IE10) won't create a session on a site i've been working on. So this means that a basic functionality such as site login won't work. On other browsers this is working perfectly. I researched a bit and found out that IE won't work with domains with underscore.. but my domain doesn't have one so what could be the problem? Thanks! IE 11 does not like a domain value in the cookie. Leave it empty. Wrong for IE 11: Set-Cookie: kohanasession=foobar; expires=Tue, 09-Apr-2016 01:01:01 GMT; path=/; domain=tc.mk; httponly Correct for IE 11: Set

How to disable autocomplete for a HTML password field in IE11?

半腔热情 提交于 2019-11-28 07:47:00
IE11 dropped support for autocomplete=off for input type=password at both the form and element level. Has anybody found a working solution to disable autocomplete under IE11? You're much better off solving the problem of security with two-factor authentication. Hacking around the browser will (a) only work in the short-term (password managers are getting better at handling these kinds of approaches), and (b) often lead to accessibility issues, which can cost you a lot more users than your fear of legitimate password leakage. If you work in a large organization, users of assistive technology

VBA: Choosing Specific Tab on Internet Explorer

耗尽温柔 提交于 2019-11-28 06:53:37
问题 I had another post regarding a different issue on the same overall problem here: Converting From Early Binding to Late Binding. I now have a new issue with my coding (which I will post a portion of it below), where if I have Internet Explorer open with multiple tabs, my code no longer fills in the text boxes - even if the tab is the one currently being viewed . As soon as I close all other tabs, the code runs flawlessly. If the tab was named Tab1 at the URL: https://sub.website.com/dir/ , how

IE 11 border-radius weirdness (did not occur in IE 9 and IE 10)

强颜欢笑 提交于 2019-11-28 06:47:57
I have searched for similar questions related to border-radius in IE 11, but only one found on the Microsoft IE Developer site described what I am also currently experiencing since "upgrading" to IE 11. The answer to the post in that thread was to make certain the DOCTYPE was HTML5, and not Quirks. I am currently finishing a redesign on a website and yes, it's HTML5 and has the correct DOCTYPE, but I am still getting a weird problem with border-radius. There's a 1px offset to almost every element where I've applied a border-radius. If I uncheck border-radius, the problem disappears and all is

Placeholder CSS not being applied in IE 11

风流意气都作罢 提交于 2019-11-28 06:45:00
I am getting some problem in applying placeholder css. I am trying to apply css (i.e. color:#898F9C; ) on input-box placeholder using pseudo-class selector :-ms-input-placeholder , but it's not working in IE. Demo After some hit and try, I get solution of my problem, but it's amazing. If i removed the default css/style color on input-box, placeholder css working properly in IE(It's amazing behavior of Internet Explorer). My default css/style: #search { color:blue; } Working-fiddle without input-box default css My question is, why it's not working with default CSS in IE? David Storey Further to

IE11 Windows 7 Print issue after kb4021558

走远了吗. 提交于 2019-11-28 05:55:14
Apologies for the slightly vague question but I'm pulling my hair out. Since this update we have had numerous calls regarding printing from our web app. Our web app uses an iframe and we use css @media print to hide all but this iframe for printing purposes. Since the update the user receives an Error 404--Not Found instead of the actual page. It would seem from the network trace that IE creates a temp .htm file in the local directory like D3CD911.htm, it then downloads css/js resources and then finally it makes this call /D3CD911.htm. This is making a call to www.mywebsite.co.uk/D3CD911.htm.