Edwin Yip 154 Posted July 9, 2019 This open source project basically can replace dcef3 or cef4delphi (for embedding the Chromium browser into your program), but the size is much smaller - 6mb zipped. I guess not everyone in the English community knows about it since it's hosted in the Chinese version of github :D https://gitee.com/LangjiApp/Wke4Delphi Basically it's a Delphi wrapper for: https://github.com/weolar/miniblink49 2 Share this post Link to post
Rollo62 536 Posted July 9, 2019 @edwinyzh Thanks for the info, Nice project, but Gitee seems impossible to register for download. Any hints ? Share this post Link to post
Edwin Yip 154 Posted July 9, 2019 @Rollo62, You don't have to register to download, use git clone or click the Download Zip link as illustrated above by Markus. Share this post Link to post
Paul Thornton 1 Posted February 22, 2020 @edwinyzh - I'm testing out Wke4Delphi, but each time I load a web page it defaults to Chinese. Do you know how to change it to the default locale of the current OS? Cheers, Paul Share this post Link to post
Edwin Yip 154 Posted February 23, 2020 9 hours ago, Paul Thornton said: @edwinyzh - I'm testing out Wke4Delphi, but each time I load a web page it defaults to Chinese. Do you know how to change it to the default locale of the current OS? Cheers, Paul Sorry, no idea at all, I'm not using it ATM. Share this post Link to post
krystian-broniszewski 0 Posted January 19, 2021 unfortunately, I have a similar problem: it loads pages in Chinese by default. does anyone know how to make it load pages in English. It is very big problem for me Share this post Link to post
limelect 48 Posted January 19, 2021 (edited) I downloaded with SVN checkout The zip file is too big to put here if anyone wants the source plz contact me with email It seems to be a great replacement for cef4delphi Only one dll!!! Node.dll for 32b https://gitee.com/LangjiApp/Wke4Delphi.git <<< link for download on SVN checkout Edited January 19, 2021 by limelect Share this post Link to post
limelect 48 Posted January 19, 2021 (edited) For the test, I made this demo https://gitee.com/LangjiApp/Wke4Delphi/issues/I2DICR It workes great P.S for 64b i need miniblink_x64.dll could not find Edited January 19, 2021 by limelect Share this post Link to post
pyscripter 689 Posted January 19, 2021 (edited) 35 minutes ago, limelect said: P.S for 64b i need miniblink_x64.dll could not find Releases · weolar/miniblink49 (github.com) Edited January 19, 2021 by pyscripter Share this post Link to post
limelect 48 Posted January 19, 2021 (edited) I tried to compile it was a mess. Looking for already compiled Edited January 19, 2021 by limelect Share this post Link to post
pyscripter 689 Posted January 19, 2021 1 minute ago, limelect said: Looking for already compiled Download the binary release. Share this post Link to post
krystian-broniszewski 0 Posted January 27, 2021 it works fine, but the pages are in Chinese. I would prefer english. how to do it Share this post Link to post
krystian-broniszewski 0 Posted January 28, 2021 any ideas. For me it's very important Share this post Link to post
krystian-broniszewski 0 Posted February 19, 2021 (edited) OK, chinese it's small problem now. I try use TWkeBrowser to "speak" from translate.google.com. But i have problem: "voice playback is not supported by the browser" Edited February 19, 2021 by krystian-broniszewski Share this post Link to post
Dmitry Sh. 8 Posted February 19, 2021 On 2/22/2020 at 9:33 PM, Paul Thornton said: @edwinyzh - I'm testing out Wke4Delphi, but each time I load a web page it defaults to Chinese. Do you know how to change it to the default locale of the current OS? try send 'Accept-Language: en-us,en' on load event example: function DoOnLoadUrlBegin(WebView: wkeWebView; param: Pointer; url: PansiChar; job: Pointer): boolean; cdecl; var bhook, bHandled: boolean; begin wkeNetSetHTTPHeaderField(job, PwideChar('Accept-Language'), PWideChar('en-us,en'), False); 1 Share this post Link to post
krystian-broniszewski 0 Posted March 15, 2021 I have 2 problems with TWKEBrowser 1. How to disable show images 2. How to click button? I try: wb.ExecuteJavascript('document.getElementsByClassName("button").click();'); //but not working on most websites but wb.ExecuteJavascript('document.getElementById("password").value = "drop"'); // is 100% working Please help and soory for my english. Share this post Link to post
krystian-broniszewski 0 Posted March 26, 2021 On 2/19/2021 at 9:43 AM, Dmitry Sh. said: try send 'Accept-Language: en-us,en' on load event example: function DoOnLoadUrlBegin(WebView: wkeWebView; param: Pointer; url: PansiChar; job: Pointer): boolean; cdecl; var bhook, bHandled: boolean; begin wkeNetSetHTTPHeaderField(job, PwideChar('Accept-Language'), PWideChar('en-us,en'), False); What is your version of WKEBrowser? i don't see your function Share this post Link to post
Dmitry Sh. 8 Posted March 26, 2021 Sorry, it's part of my patches for LangjiApp/Wke4Delphi. You can find my repo on https://github.com/dshumko/WKE4Delphi Share this post Link to post