Implement a simple content script injector
This commit is contained in:
parent
97c04735a2
commit
49d9446cce
4 changed files with 40 additions and 1 deletions
|
@ -69,6 +69,9 @@ if (window.location.protocol === 'chrome-devtools:') {
|
|||
// Override default web functions.
|
||||
require('./override')
|
||||
|
||||
// Inject content scripts.
|
||||
require('./content-scripts-injector')
|
||||
|
||||
// Load webview tag implementation.
|
||||
if (nodeIntegration === 'true' && process.guestInstanceId == null) {
|
||||
require('./web-view/web-view')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue