internet-explorer

$(window).on('popstate') is not working in IE

女生的网名这么多〃 提交于 2021-02-11 17:50:43
问题 $window 'popstate' event is not working in IE on browser back button. Below is the code snippet which is getting used to remove some modal classes on back button. $(window).on('popstate', function(event) { event.preventDefault(); event.stopPropagation(); $('.modal-backdrop').remove(); $('body').removeClass( 'modal-open' ); }); Issue - when Modal is open and on click of browser back button trying to remove modal classes on previous page which is coming after click of browser back button. In

Mixitup Javascript doesn't work in Internet Explorer

天大地大妈咪最大 提交于 2021-02-11 17:40:43
问题 The following code regarding Mixitup.js doesn't work in Internet Explorer but working fine in all other browsers. Could anyone help with this or could adjust the code for working in Internet Explorer? <script src="https://cdnjs.cloudflare.com/ajax/libs/mixitup/3.3.0/mixitup.min.js"> </script> <script> // 2) Reusable function to convert any string/text to css-friendly format var conv = function (str) { if (!str) { str = 'empty'; } return str.replace(/[!\"#$%&'\(\)\*\+,\.\/:;<=>\?\@\[\\\]\^`\{\

Excel VBA click website button with no name or ID that uses JSON

北城余情 提交于 2021-02-11 17:39:33
问题 I am using excel VBA to open this website: Legal and General, Then it needs to click the "Fund prices and charges" button. Inspecting the web page with chrome, I can see this button has the following code: <div class=" selected tab" tabindex ="0" role="button" aria-pressed="true">...</div> The HTML 'view source' suggests a script type="application/JSON" I'm very confused by all of this. Does anyone know how I can select this button? I have this section of code so far: Set HTMLDoc = .document

How can C# WebBrowser reduce the memory occupying/How to solve WebBrowser's memory leak?

纵饮孤独 提交于 2021-02-11 17:00:23
问题 I'm using WebBrowser to write a program (let's call it < tinyWb >) to do some automatic web form filling jobs, etc., just for fun. < tinyWb > mainly does the following jobs: open a tabPage, navagate to a URL, do some business, and then close the tab. There are about 25 URLs total that need to be navigated to, but I found that the memory that the < tinyWb > program is occupying is growing continuously, and after about 10 hours it will require about 120m physical memory and about 240m virtual

IE Crashing when exposing Methods for JS

…衆ロ難τιáo~ 提交于 2021-02-11 15:34:21
问题 I am developing a BHO for IE in C#. The issue I am stuck in is that IE crashes by saying that "Internet Explorer has stopped working" then "A problem with the webpage caused Internet Explorer to close and open the tab again" This behavior is observed on Windows 10 Pro 2016 and IE 11. However same BHO is working fine on other versions of Windows like Windows 8.1 - IE 11, Windows 10 2019,2020 - IE 11. This usually occurs on navigating to a link in the already opened tab or on refreshing the

IE Crashing when exposing Methods for JS

假装没事ソ 提交于 2021-02-11 15:33:21
问题 I am developing a BHO for IE in C#. The issue I am stuck in is that IE crashes by saying that "Internet Explorer has stopped working" then "A problem with the webpage caused Internet Explorer to close and open the tab again" This behavior is observed on Windows 10 Pro 2016 and IE 11. However same BHO is working fine on other versions of Windows like Windows 8.1 - IE 11, Windows 10 2019,2020 - IE 11. This usually occurs on navigating to a link in the already opened tab or on refreshing the

Angular 8 is not loading in IE 11 Browser

五迷三道 提交于 2021-02-11 14:10:36
问题 It is a duplicate question from How do I support Internet Explorer in an Angular 8 application? But I really wondering why none of the solution is not working for me including nested forum sites solutions too.Here are my snippets FYI.have tried a lot and being spending two days for this before posting here. curious to know what i missed and what will be the solution. much appreciated if get the expected solution. package.json "dependencies": { "@angular/animations": "^8.2.3", "@angular/cdk":

React polyfills for ie >= 9

回眸只為那壹抹淺笑 提交于 2021-02-11 13:56:51
问题 I'm trying to set up React App for IE 9+ browsers. Here is my current src. package.json { "name": "react-ts-template", "version": "0.1.0", "private": true, "dependencies": { "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.3.2", "@testing-library/user-event": "^7.1.2", "@types/jest": "^24.0.0", "@types/node": "^12.0.0", "@types/react": "^16.9.0", "@types/react-dom": "^16.9.0", "@types/crypto-js": "3.1.44", "react": "^16.13.1", "react-dom": "^16.13.1", "react-scripts": "3.4

XPages & IE Document Mode

这一生的挚爱 提交于 2021-02-11 12:52:23
问题 I have a bootstrap enabled xpages application, which renders perfectly in chrome. The same application, that when loaded in IE11, all the styling is out of place. However, as soon as I refresh the page, everything styles correctly, and stays so for the duration of the session. If I close IE, re-open, load page, wrong style again, refresh, correct again for the session.... It looks like it is trying to force IE7 document mode Any idea's what is causing this? I use <meta content="IE=edge" http

How do I make Internet Explorer driver invisible using Selenium and VB?

末鹿安然 提交于 2021-02-11 12:20:48
问题 I am using Selenium WebDriver to make some automations, using chrome I can use the headless argument to hide it, but I don't know the argument to hide the Internet Explorer. Dim driver As New ChromeDriver driver.AddArgument ("headless") Dim driver As New IEDriver driver.AddArgument ("?????????????????????") Library used - A Selenium based browser automation framework for VB.Net, VBA and VBScript 回答1: Based on my searching results, it looks like Internet Explorer does not support Headless mode