|
@@ -80,6 +80,9 @@ if (window.location.protocol === 'chrome-devtools:') {
|
|
|
// Add implementations of chrome API.
|
|
|
require('./chrome-api').injectTo(window.location.hostname, isBackgroundPage, window)
|
|
|
nodeIntegration = 'false'
|
|
|
+} else if (window.location.protocol === 'chrome:') {
|
|
|
+ // Disable node integration for chrome UI scheme.
|
|
|
+ nodeIntegration = 'false'
|
|
|
} else {
|
|
|
// Override default web functions.
|
|
|
require('./override')
|