File tree 1 file changed +3
-0
lines changed
src/frontend/ExtensionManager
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ const animation = {
24
24
25
25
const ExtensionManager = function ( ) {
26
26
const rootRef = useRef < HTMLDivElement > ( null )
27
+ const trueAsStr = 'true' as unknown as boolean | undefined
27
28
28
29
/* eslint-disable react/no-unknown-property */
29
30
return (
@@ -36,6 +37,7 @@ const ExtensionManager = function () {
36
37
webpreferences = "contextIsolation=true, nodeIntegration=true"
37
38
src = { `chrome-extension://${ extensionStore . extensionId } /popup.html` }
38
39
className = { ExtensionManagerStyles . mmWindow }
40
+ allowpopups = { trueAsStr }
39
41
> </ webview >
40
42
</ motion . div >
41
43
) : null }
@@ -46,6 +48,7 @@ const ExtensionManager = function () {
46
48
webpreferences = "contextIsolation=true, nodeIntegration=true"
47
49
src = { `chrome-extension://${ extensionStore . extensionId } /notification.html` }
48
50
className = { ExtensionManagerStyles . mmWindow }
51
+ allowpopups = { trueAsStr }
49
52
> </ webview >
50
53
</ motion . div >
51
54
) : null }
You can’t perform that action at this time.
0 commit comments