In my application, main frame's role is to wrapping document that is loaded in inner iframe. Documents are downloaded from third-party sites. In main frame I have defined js functions that interacts with document from iframe. There are also indexeDB functions. Problem is because some sites don't allow to be loaded in iframe, because they send back X-Frame-Options header response, and other restrictions.
My question is, it is possible to change behaviour of iframe to behave like iframe? ( simulate main frame in other words )
I tried also option with CefURLRequest and CefResourceHandler, but I appeared some issues and I think it is big overhead for purporse that I want to achieve.
Greetings.