Add storage file
This commit is contained in:
parent
82bee12c00
commit
41d6ddd588
3 changed files with 61 additions and 6 deletions
|
@ -183,12 +183,7 @@ exports.injectTo = function (extensionId, isBackgroundPage, context) {
|
|||
onMessage: chrome.runtime.onMessage
|
||||
}
|
||||
|
||||
chrome.storage = {
|
||||
sync: {
|
||||
get () {},
|
||||
set () {}
|
||||
}
|
||||
}
|
||||
chrome.storage = require('./extensions/storage.js')
|
||||
|
||||
chrome.pageAction = {
|
||||
show () {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue