Rank: Advanced Member Groups: Member
Joined: 9/3/2014 Posts: 68
|
Hi,
I am looking for the solution to fix CORS issue to load resources in multiple domains in EO.WebBrowser. The 2019 version does not have CORS restriction while 2020 version has restriction for crossing origin requests.
Thank you.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
|
Rank: Advanced Member Groups: Member
Joined: 9/3/2014 Posts: 68
|
That fixes the CORS issue with EnableWebSecurity=false. However, I have another issue with Content Security Policy directive: "frame-ancestors 'self', which prevents to load a website inside an iframe. How to bypass this restriction also.
Thank you.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, We don't have built-in support for you to bypass everything. EnableWebSecurity is the only option exposed. However you can search online to see if there are any Chrome command line switch that you can use to achieve what you wanted. If such command line switch exists for Chrome browser, you can try to pass the switch to EO.WebBrowser through this property: https://www.essentialobjects.com/doc/eo.webengine.engineoptions.extracommandlineargs.aspxNote that we do not support all Google Chrome switches. So it is possible that some switches works for Chrome but not for EO.WebBrowser. Thanks
|