mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Add a way to set worldSafeExecuteJavascript #620
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DelpireNI on GitHub (Jan 13, 2021).
Currently when looking at the debugger in the electron app, we get the following warning:
It seems that the way to fix this is to set worldSafeExecuteJavaScript to true and contextIsolation to true. Electron .NET has a WebPreferences class that currently allows ContextIsolation to be set to true, but there is no way to set worldSafeExecuteJavascript as far as I can tell.
@philinthecloud commented on GitHub (Jan 18, 2021):
+1 for please allowing this.
@GregorBiswanger commented on GitHub (Mar 28, 2023):
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!