The integration of WebKit and the Chromium Embedded Framework (CEF) is a very interesting and powerful extension to Xojo. However, the potential of this integration is only available very rudimentarily and developers can only use basic functions at the moment.
Many software developments already use the possibility to integrate JavaScript, CSS and HTML for certain parts of their software like dashboards, special editors, for web developments, graphical representations and listings and much more.
I believe that we need only a few additional extensions (consistent across all platforms) in order to make better use of this. This was already demanded also in other threads on this forum.
EvaluateJavaScript first of all - availability on all platform (also iOS)
A good extension would be - if we could give the EvaluateJavaScript function a return value as well. A JSON string with data or a boolean value to determine if a function was execute correctly
Please also allow communication in the other direction JavaScript to Xojo
Maybe with JavaScript callbacks register a function which you can call from JavaScript and this calls an event in Xojo like xojo.doSomething(hello);
We love the MBS plugins (we bought most of them and use them a lot) but in this case we would aspire a consistent cross-platform solution in both ways and the CEF would provide all features to implement such a solution.
A cross platform solution is difficult. You can write your own methods to abstract the details, but each browser is internally implemented very differently.
Of course we understand that such a solution isn’t that easy but we would only refer to WebKit respectively CEF (no InternetExplorer or anything like that). I think they should be quite similar - not?
In my opinion this would a great extension for Xojo which is known for seamless and powerful cross-platform solutions.