javascript - vba excel internet explorer disable warning https message -


when loading website , following security warning :

do want view webpage content delivered securely.

this popup cause code go error , there way disable vba ?

thanks.

here code

    sub start()  dim ie new internetexplorer dim doc htmldocument   ie.visible = true  ie.navigate ("https://mywebsite.com") ie.fullscreen = true doevents loop until ie.readystate = readystate_complete set doc = ie.document    doc.getelementbyid("navmenu2").click 

the reason warning you’re on ssl-secured (https protocol) page attempting load non-ssl (http protocol) content.

the best ways fix either:

  1. visit website http instead of https - ie.navigate ("http://mywebsite.com")
  2. fix security issues in website (do not load unsecure content when visiting https)

if want fix testing purposes, can change settings in test browser:

  1. go tools -> internet options -> security
  2. select "security" tab -> click "custom level" button
  3. in "miscellaneous" section change “display mixed content” enable.

Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -