You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the isolated context you have full access to the dom and I don't want to inject my libraries directly in the guest page since they could conflict with other scripts that are loaded there. If I would like to execute directly within the guest context I would have used an iframe instead of a webview.
The default behavior was changed in version 0.26.5, related issue: #6229
The text was updated successfully, but these errors were encountered:
Will add a boolean field mainWorld in InjectDetails to control the world where the code would run. The default value would be false to keep align with upstream.
NWJS Version : 0.26.6
Operating System : Windows 10
Expected behavior
I expect it to execute the script in the isolated context where my contentScripts are loaded
Actual behavior
It executes the script in the main context
How to reproduce
In the isolated context you have full access to the dom and I don't want to inject my libraries directly in the guest page since they could conflict with other scripts that are loaded there. If I would like to execute directly within the guest context I would have used an iframe instead of a webview.
The default behavior was changed in version 0.26.5, related issue: #6229
The text was updated successfully, but these errors were encountered: