Is There another way to Handle JavaScript without Windows. Status?

Good Day everybody!
Is there another way to Handle JavaScript without using The trick : “Windows. Status=”
When i do Htmlviewer. Executejavascript. AND use Status change event??

Thanks

I already told you in another post.

There is a declare for Mac that works.
The Windows declare gets tricky and even shao shen gave up. At this time there is no working copy/paste Windows declare for it.

[quote=232091:@Tim Parnell]I already told you in another post.

There is a declare for Mac that works.
The Windows declare gets tricky and even shao shen gave up. At this time there is no working copy/paste Windows declare for it.[/quote]
Yeah i know that you told me. But i wanted to know if is another way to do it being Cross-Platform . As you say is possible on mac

There is a feature request to modify the ExecuteJavaScript so that it can return values.

<https://xojo.com/issue/33304>

Perhaps you could assign some points to this ticket Gerardo?

Mac? Win? Linux? Web? iOS?

e.g. for Mac and Linux the MBS Plugins have extensions to HTMLViewer on desktop to get back a value.

[quote=232159:@Christian Schmitz]Mac? Win? Linux? Web? iOS?

e.g. for Mac and Linux the MBS Plugins have extensions to HTMLViewer on desktop to get back a value.[/quote]Thanks Christian I’m interested on the three platforms

maybe you start reading here:
https://www.monkeybreadsoftware.net/class-htmlviewer.shtml

So we do have for Mac:
HTMLViewer.EvaluateJavaScriptMBS(code as string) as string

For Linux with WebKit:
LinuxWebViewMBS.EvaluateScript(script as string) as string

For Windows with Internet Explorer:
HTMLViewer.IERunJavaScriptMBS(JavaScript as string) as boolean

For Windows with WebKit:
ChromiumBrowserMBS.ExecuteJavaScript(jsCode as string, scriptUrl as string, startLine as integer)

[quote=232208:@Christian Schmitz]So we do have for Mac:
HTMLViewer.EvaluateJavaScriptMBS(code as string) as string

For Linux with WebKit:
LinuxWebViewMBS.EvaluateScript(script as string) as string

For Windows with Internet Explorer:
HTMLViewer.IERunJavaScriptMBS(JavaScript as string) as boolean

For Windows with WebKit:
ChromiumBrowserMBS.ExecuteJavaScript(jsCode as string, scriptUrl as string, startLine as integer)[/quote]
Thanks Christian