webui icon indicating copy to clipboard operation
webui copied to clipboard

[Feature Request] Disable devtools under webview mode

Open konakona418 opened this issue 8 months ago • 6 comments

Hi! I was wondering if there's any plan to support disabling DevTools (e.g., F12, Ctrl+Shift+I, etc.) when running in webview mode in the future?

I know there are some workarounds in JavaScript, but I’m curious whether this could be implemented more cleanly from the C side. As far as I know, WebView2 provides APIs for this functionality, so perhaps it could be integrated more natively.

konakona418 avatar Apr 07 '25 11:04 konakona418