[Gambas-user] Some documentation for webview in 3.16 execjavascript ??

bb adamnt42 at gmail.com
Sun Jun 27 12:52:37 CEST 2021


On Sun, 2021-06-27 at 11:44 +0200, Martin wrote:
> ok, i use this code snippet from FTextEditor.class 
> 
etc

Martin,

You really will have to do some web searching on the underlying QT
webthingo. What QT is doing is using some upstream shared libraries
that provide the QT webthing with features.

Gambas is using the QT webthing as the basis for its component.

If I recall correctly I went through a similar problem about 2 years
ago. All I can remember is this, the JavaScript or the ExecJavaScript
functions in QT do not actually allow "arbitrary" javascript. 

(WebKit? Was that it? No, I dont think so)

>From memory, there were only some really basic things you could do.
Imagine if it let you do what ever you wanted, redirects, nasty code
injection, header rewrites etc.

I am sorry, but I'm a bit too busy at the moment to offer more.

regards
bruce




More information about the User mailing list