Rank: Newbie Groups: Member
Joined: 12/29/2015 Posts: 1
|
Hi,
My page contains mixed conent ('Page' was loaded over HTTPS, but requested an insecure script '...'. This request has been blocked; the content must be served over HTTPS). How can I allow running insecure content in WebBrowser?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
|
Rank: Newbie Groups: Member
Joined: 10/26/2017 Posts: 6
|
Hi,
Our web applications are also loaded over HTTPS and we are making some requests with "HTTP" call. EnableSecurity property doesn't work.
Do you have any suggestion for that?
Thank you?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi, Please pass "--allow-running-insecure-content" command line option to the browser engine. You can find more information about engine options here: https://www.essentialobjects.com/doc/webbrowser/advanced/engine.aspxTo test this feature with the TabbedBrowser sample application, you can add the following code inside App.xaml.cs/.vb inside Application_Startup method before you create MainWindow:
Code: C#
EO.WebEngine.Engine.Default.Options.ExtraCommandLineArgs = "--allow-running-insecure-content";
Please let us know if this works for you. Thanks!
|