So we have WebViewMBS class (WebKit 1.x), WKWebViewControlMBS control (WebKit 2.x), Internet Explorer classes like IEDocumentMBS and IEWebBrowserMBS, ChromiumBrowserMBS class for Chromium Embedded Framework and LinuxWebViewMBS class for WebKit on Linux.
MacOS WebKit 1.x
First we have our extensions to HTMLViewer class. As we started with MacOS support first many years ago, those are the oldest functions for HTMLViewer.
MacOS WebKit 2.x
Windows with Internet Explorer
For Windows the HTMLViewer can run in two modes. First you can run it with Internet Explorer (native renderer) or with WebKit mode. You switch this by the Renderer property.
method or better with the newer
IEDocumentMBS.Evaluate(expression as string) as variant
method. The first one doesn't provide a result, so we later added the Evaluate call to provide the result. For that we convert the result to Xojo data types and put it in a variant.
You can use a hidden textarea form control on the website with our
IEGetTextAreaMBS(FormName as String, FieldName as String) as String
IESetTextAreaMBS(FormName as String, FieldName as String, Value as String) as Boolean
Windows with WebKit
Linux with WebKit
method EvaluateScript(script as string) as string
method ExecuteScript(script as string)
method EvaluateScript(script as string, sourceURL as string = "", StartLineNumber as Integer = 0) as string
method EvaluateScript(script as string, sourceURL as string, StartLineNumber as Integer, byref JSException as string) as string