Jump to content

#include <IE.au3> Mime Types


Recommended Posts

Im using  #include <IE.au3>

Example:

Local $oIE = _IECreateEmbedded()

    Local $hoIE = GUICtrlCreateObj($oIE, 8, 8, 480, 270)

    $oIE.Navigate2("https://httpbin.org/cookies")

To access an IP for timetable information to be displayed on a large screen.

I have no say over changes to the server that provides the info.

Sometimes and i believe its because they screw up the MIME types on the server the HTML pages show as a download rather than rendering in the IE control.

Can i set the default MIME from download to text/html? 

Or at worst can i disable the download and display just a blank page?

Also whats the easiest way to suppress JavaScript errors i set it on the PC via IE settings just wondering if theirs a way to add it to Autoit so it does not get re-enabled.

Thanks in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...