CEF browser - how to allow cross origin requests using the file:// protocol?

Ralf Bitter rabit at revigniter.com
Fri Jul 11 11:15:15 EDT 2014


Hi Mark,

many thanks for your reply. The need to change the engine was
what I was afraid of. This would mean, that I am at a loss as
I hate to launch another application to display the presentations.


Ralf


On 11.07.2014, at 14:59, Mark Wilcox <mark at sorcery-ltd.co.uk> wrote:

> I had a very quick look at the code and I don't think it can be done
> without a change to the engine. One way to do it would be to implement:
> CefApp::OnBeforeCommandLineProcessing()
> 
> In revbrowser/src/cefbrowser.cpp
> 
> It could be a fixed command line argument that is added if no-one is
> concerned about the security implications, otherwise some new command in
> LiveCode that lets you add to this argument list before you create a new
> browser object. The second option would obviously be much more flexible.
> 
> -- 
>  Mark Wilcox
>  mark at sorcery-ltd.co.uk





More information about the use-livecode mailing list