Set page variable using webFrame.executeJavaScript

This commit is contained in:
Kevin Sawicki 2017-01-05 09:33:54 -08:00
parent ea2273dde5
commit b348cdeae8
3 changed files with 6 additions and 2 deletions

View file

@ -13,7 +13,8 @@
typeofRequire: typeof require,
typeofProcess: typeof process,
typeofArrayPush: typeof Array.prototype.push,
typeofFunctionApply: typeof Function.prototype.apply
typeofFunctionApply: typeof Function.prototype.apply,
typeofPreloadExecuteJavaScriptProperty: typeof window.preloadExecuteJavaScriptProperty
}, '*')
</script>
</head>