internet-explorer

'XML5619: Incorrect document syntax. ' error in IE10 Only

限于喜欢 提交于 2021-02-07 05:15:15
问题 I've been noticing during some IE10 testing that I keep running into the following error: XML5619: Incorrect document syntax. However, I'm not using XML explicitly, and I can't seem to find documentation as to what this error actually means. I'm using the HTML5 doctype, if that matters. Can anyone out there with IE expertise help lead me in the right direction? 回答1: set the content-type of you're request to text/xml and the error will disappear. I think IE10 expects the content-type to be set

set a Blob as the “src” of an iframe

柔情痞子 提交于 2021-02-06 10:16:47
问题 The following code work perfectly in Chrome <script> function myFunction() { var blob = new Blob(['<a id="a"><b id="b">hey!</b></a>'], {type : 'text/html'}); var newurl = window.URL.createObjectURL(blob); document.getElementById("myFrame").src = newurl; } </script> But it is not working with IE. Can some one please tell me what is wrong here. The iframe "src" also set to the blob as shown below. <iframe id="myFrame" src="blob:0827B944-D600-410D-8356-96E71F316FE4"></iframe> Note: I went on the

set a Blob as the “src” of an iframe

杀马特。学长 韩版系。学妹 提交于 2021-02-06 10:16:04
问题 The following code work perfectly in Chrome <script> function myFunction() { var blob = new Blob(['<a id="a"><b id="b">hey!</b></a>'], {type : 'text/html'}); var newurl = window.URL.createObjectURL(blob); document.getElementById("myFrame").src = newurl; } </script> But it is not working with IE. Can some one please tell me what is wrong here. The iframe "src" also set to the blob as shown below. <iframe id="myFrame" src="blob:0827B944-D600-410D-8356-96E71F316FE4"></iframe> Note: I went on the

Clicking on hyperlink with partial href on Internet Explorer using vba

喜你入骨 提交于 2021-02-05 11:42:08
问题 Hi I am trying to create a script to click on a link of which I can provide a partial link. It would be great if someone may please advise how I can do this <a href="website/report/download.json?refId=3e49762e-8edc-47c2-a282-11ee3c64e85a&reportType=xlsx&fileName=GeneralExtract.xlsx&obo>GeneralExtract.xlsx</a> Set i = CreateObject("InternetExplorer.Application") Dim idoc As MSHTML.HTMLDocument Set idoc = i.document Set eles6 = idoc.getElementsByTagName("a") For Each ele6 In eles6 If ele6.href

IE opening new tab about:blank instead of Webpage

邮差的信 提交于 2021-02-05 09:48:07
问题 I am developing a BHO for IE in C# that controls the navigation flow of IE by checking the URL in onBeforeNavigateEvent. Everything works fine except that when a link is opened in a new tab then some of the tabs opened as About:Blank. I have checked the logs and also debugged the BHO no exception is thrown. However in the case of About:Blank BHO is initiated SetSite and GetSite methods are called but navigation event is not fired. Also it happens when links are opened in new tab rapidly. For

IE opening new tab about:blank instead of Webpage

爱⌒轻易说出口 提交于 2021-02-05 09:48:05
问题 I am developing a BHO for IE in C# that controls the navigation flow of IE by checking the URL in onBeforeNavigateEvent. Everything works fine except that when a link is opened in a new tab then some of the tabs opened as About:Blank. I have checked the logs and also debugged the BHO no exception is thrown. However in the case of About:Blank BHO is initiated SetSite and GetSite methods are called but navigation event is not fired. Also it happens when links are opened in new tab rapidly. For

Excel IE Automation identifying a “css” element

放肆的年华 提交于 2021-02-05 09:43:27
问题 Still plundering along scraping web sites, printing from web pages, etc. but ran into a snag I'm hoping someone can help me with. The pic below is shows the tab that I'd like to activate and I have the code to get me right there but can't activate the tab. While the last line of code will work on my desktop PC, I can't get it to work on my other PC's. I likely could juxtapose IE on the other PC's to make it work but I know that I'm just identifying the element wrong and if I did it correctly

Excel IE Automation identifying a “css” element

巧了我就是萌 提交于 2021-02-05 09:42:39
问题 Still plundering along scraping web sites, printing from web pages, etc. but ran into a snag I'm hoping someone can help me with. The pic below is shows the tab that I'd like to activate and I have the code to get me right there but can't activate the tab. While the last line of code will work on my desktop PC, I can't get it to work on my other PC's. I likely could juxtapose IE on the other PC's to make it work but I know that I'm just identifying the element wrong and if I did it correctly

Powershell - How can I deal with this type of drop down in I

核能气质少年 提交于 2021-02-05 09:30:30
问题 Screenshot How can I automate powershell to select the Company fro this type of dropdown because it's not a normal drop down but it shows values only once you start typing? For e.g. in this case when I type C it shows Company. Refer the screenshot image above. Following code inserts the value but it doesn't recognize it and gives an error asking to input value - $test.document.getElementById("val1").value = "Company (Company)" Below code which works for normal drop-downs doesn't work here -

Default create-react-app does not work in IE despite polyfills and browser list

人盡茶涼 提交于 2021-02-05 08:32:57
问题 Am on the simple quest to get create-react-app working in IE 11. I am working from Mac OS X and I cannot get IE 11 working either through VirtualBox or through a Windows computer (both in dev and production mode). I have investigated this thoroughly, and tried the following: Adjusted package.json as per the below, then (i) removed node_modules/.cache, then when that didn't work, (ii) removed node_modules "browserslist": { "production": [ "last 1 chrome version", "last 1 firefox version",