moe li

Results 3 comments of moe li

> Yes, we can try to disable it on release mode and enable it in debug mode. Using JavaScript and C. > > **TypeScript:** > > [webui/bridge/webui.ts](https://github.com/webui-dev/webui/blob/7adbdc482258d22c6e4a07d96092173770dcd3c1/bridge/webui.ts#L163) > > Line...

I wrote a simple implementation for Windows WebView2 [here](https://github.com/konakona418-forked/webui/blob/80e896fcb074334c1de34a119b0bbd05ea38f43a/src/webui.c#L11229).

> Thank you [@konakona418](https://github.com/konakona418), you can make it even more simpler, remove `devtoolsEnabled` flag, and do this: > > #ifndef WEBUI_LOG > // Disabling dev tools. > settings->lpVtbl->put_AreDevToolsEnabled(settings, 0); >...