Support for Chrome Extensions in Electron apps
var chromeExtensions = require('electron-chrome-extensions')
webview.addEventListener('dom-ready', () => {
chromeExtensions.load(chromeExtensions.defaultPath, (err, extensions) => {
extensions.forEach((extension) => {
chromeExtensions.addToWebview(webview, extension, (err) => {
})
})
})
})
npm install electron-chrome-extensions --save
MIT license