internet-explorer

Get “href=link” from html page and navigate to that link using vba

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-29 10:28:21
问题 I am writing a code in Excel VBA to get href value of a class and navigate to that href link (i.e) here is the href value I want to get into my particular Excel sheet and I want to navigate to that link automatically through my VBA code. <a href="/questions/51509457/how-to-make-the-word-invisible-when-its-checked-without-js" class="question-hyperlink">How to make the word invisible when it's checked without js</a> The result I'm getting is that I'm able to get that containing tag's class

How can i resolve the error “access is denied” in IE browsers when downloading a PDF from my angular7 application?

安稳与你 提交于 2021-01-29 10:02:53
问题 In my angular 7 application I have an API, when called, will download a PDF. Here is my methods for getting the PDF: getPdf() { const payload = { applicantId: this.idHeader, codes: this.codeHeader + ':0', genderType: this.gender, data: this.data } this.service.getPdfConfirmationView(payload).subscribe((pdfResponse: any) => { let dataType = 'application/pdf'; let binaryData = []; binaryData.push(pdfResponse); let downloadLink = document.createElement('a'); downloadLink.href = window.URL

Vue JS render error on IE / Microsoft Edge

ぃ、小莉子 提交于 2021-01-29 09:43:52
问题 The page is loading correctly on every browser except IE 11 and Microsoft Edge. The only error that i can see is "SCRIPT1028: SCRIPT1028: Expected identifier, string or number chunk-vendors.8615b873.js (1407,41419)". The code: this.form.addEventListener("submit",async e=>{ try{ this.$emit("loading",!0),e.preventDefault(); const{ ,error:n }=await this.$stripe.createToken({...this.card,amount:1e3}); 回答1: Does the error point to the line using { ...obj } object rest/spread properties? The syntax

Selenium grid launching remote IE browser as run as administrator

你离开我真会死。 提交于 2021-01-29 09:05:19
问题 I have a selenium grid setup and from client machine need to run the grid and it is hitting an URL in remote machine in IE.IE is getting launched in remote machine.The code is in C#. below is the code I want selenium to launch IE as "Run as Administrator" mode. Can some one help me with this ? InternetExplorerOptions options = new InternetExplorerOptions(); options.IntroduceInstabilityByIgnoringProtectedModeSettings = true; options.EnableNativeEvents = true; options.ForceShellWindowsApi =

How to disable Smooth Scrolling in IE 11 programatically

六月ゝ 毕业季﹏ 提交于 2021-01-29 06:35:22
问题 I am making ajax call based on scroll event that calls are working perfectly in all browsers except IE11 and I found the reason why because by deafault "Smooth Scrolling" is enabled for IE11 SO the ajax calls are calling frequently, so how to disable that setting using javascript or jquery, any reply is help full. Thanks in advance. 回答1: All browsers on OS X, iOS Safari 8+, and a lot more have the same behavior. You can't and definitely shouldn't change it. What you can do is limit the rate

How do I fix a year of two digits in mat-datepicker in IE browser?

橙三吉。 提交于 2021-01-29 06:32:11
问题 In IE browser When I type a date with a year of two digits for example: 03/12/17 the mat-datepicker converts the year to 03/12/1917. I want mat-datepicker to convert the year 17 to the current year 2017 for example if I type 03/12/17 the mat-datepicker should convert that date to 03/12/2017. In Chrome browser the mat-datepicker converts the two digits year correctly 17 to 2017. mat-datepicker: https://material.angular.io/components/datepicker/overview Is there any solution for that problem in

Excel VBA to trigger events in web page once input box get filled with data

无人久伴 提交于 2021-01-29 05:54:46
问题 I am trying to fill one input box in web page which actually trigger events results in auto update some hidden fields. code behind web page <INPUT onchange=iCFieldChanged(this); tabIndex=1017 onkeypress="AllowOnly(event, '[()0-9-+]','');" onfocus="tbInitialValue=this.value;g_fFieldValue = this.value;g_fFieldId = this.id;" onblur="if(tbInitialValue!=this.value && Page_IsValid){executingPostBack=true;__doPostBack('dnn:ctr366:ClaimPhysicianInformation:_ctl2:Datapanel:_ctl0:_ctl5:ClaimRecipient

How can I stop getting an invalid date in IE with moment.js?

喜欢而已 提交于 2021-01-29 02:04:55
问题 This always returns "invalid date". It works in Chrome and Safari, but in IE I always get an invalid date. The code in question: var utcMoment = moment.utc(value.Timestamp); value.Timestamp is in this format: "17 Sep 15 19:55:37" Should I be using a different date format? I am unsure how to proceed. 回答1: You can explicitly define the format when creating the moment. var utcMoment = moment.utc("17 Sep 15 19:55:37", "DD MMM YY HH:mm:ss"); console.log(utcMoment); <script src="https://cdnjs

Javascript map method creating 'Object doesn't support this property or method ' in Internet Explorer (IE)?

吃可爱长大的小学妹 提交于 2021-01-28 19:40:14
问题 javascript code shows error in Internet Explorer but not in FF. $(document).ready(function(){ var countries = [ ["Afghanistan","Af"], ["Åland Islands","Ax"], ["Zimbabwe","Zw"] ]; var countryNames = countries.map(function(country){ return { /*label: '<div class="flag '+country[1].toLowerCase()+'">'+country[0]+'</div>',*/ value: country[0] } var my_var=countryNames(); }); }); In IE 8 developer tool, if I debug js, the error message is :' Object doesn't support this property or method'. And the

Excel VBA: Working with iFrame via IE Automation

别说谁变了你拦得住时间么 提交于 2021-01-28 18:20:53
问题 I have a project that I am working on where I am trying to automate a site's behavior via Excel's VBA. So far, I know how to initialize a web browser from VBA, navigate to a website, and perform a simple task such as clicking on an item using the getElementById function and click method. However, I wanted to know how can I go about working with an embedded object(s) that is inside of an iframe. For example, here is an overview of what the tree structure looks like via HTML source code. Of