Pages in chrome extension should not have node integration
This commit is contained in:
parent
9ed4730cba
commit
30dca2b4e1
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ if (window.location.protocol === 'chrome-devtools:') {
|
|||
} else if (window.location.protocol === 'chrome-extension:') {
|
||||
// Add implementations of chrome API.
|
||||
require('./chrome-api').injectTo(window.location.hostname, window)
|
||||
nodeIntegration = 'true'
|
||||
nodeIntegration = 'false'
|
||||
} else {
|
||||
// Override default web functions.
|
||||
require('./override')
|
||||
|
|
Loading…
Reference in a new issue