Page 2 of 2

Re: WebGadget()

Posted: Mon May 15, 2017 4:10 pm
by the.weavster
DarkDragon wrote:There is no vanilla webkit implementation afaik. They are either connected to Qt or GTK.
@Fred
How easy would it be to build GTK3 applications for Windows? I'm not suggesting the compiler should include all the *.dll files with this option but if it were possible to set GTK3 as the subsystem on a Windows build on the understanding we've got to source any dependencies ourselves I'd be very happy with that.


Edit:
As this is a bit of a tangent I have posted a new feature request for it.

Re: WebGadget()

Posted: Tue May 16, 2017 9:20 am
by ramme
In reply to Fred:
SB uses your browser for its gadget, it's not the same at all than PB.
I tried, unsuccessfully, to access an HTML5 app with the SB webgadget.
That's why I thought it was using the same one as PB.
If it is supposed to work, then I will try again.

Are you planning on having SB generate CSS and HTML files in the future?
Or are they too alien to be generated from basic?

Re: WebGadget()

Posted: Mon Jul 17, 2017 7:53 pm
by comm5
Use this code to see. it is possible to get your hands on html5 support:

http://aftermath-creations.net/viewtopic.php?f=16&t=86

Re: WebGadget()

Posted: Tue Jul 18, 2017 7:26 am
by ramme
comm5 suggested http://aftermath-creations.net/viewtopic.php?f=16&t=86.

It does in fact allow HTML5. Unfortunately it uses the ancient PB WebBrowser and IE11 emulation.

Code: Select all

Procedure Start() ;use IE11 as Webgadget html5 
  RegCreateKeyValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION", GetFilePart(ProgramFilename()), "11001", #REG_DWORD, ".")
  MainFormShow()
EndProcedure
The problem is that IE is being discontinued and new advances to HTML5 are not being supported.
It is really annoying now and will only get worse.

Re: WebGadget()

Posted: Mon Jul 24, 2017 8:30 am
by tj1010
The only alternative is the webkit libraries..

If I need a JS or render engine(usually for something like web bots) I usually just use .NET. Mostly because I need to interact with dynamic DOM. In PB you have to deal with a lot of COM structs and you still can't do everything with existing PBI.

Re: WebGadget()

Posted: Thu Dec 22, 2022 10:40 pm
by PureBasti
Whats with WebView2?
I think the WebGadget should use this instead of the old WebView.

https://learn.microsoft.com/de-de/micro ... /webview2/

Re: WebGadget()

Posted: Thu Dec 22, 2022 11:44 pm
by infratec
As long as Fred doesn't implement it natively, you can use this:

viewtopic.php?p=592281#p592281