Per-extension storage
This commit is contained in:
parent
d2002ff3fc
commit
ec10338364
2 changed files with 22 additions and 20 deletions
|
@ -173,7 +173,7 @@ exports.injectTo = function (extensionId, isBackgroundPage, context) {
|
|||
onMessage: chrome.runtime.onMessage
|
||||
}
|
||||
|
||||
chrome.storage = require('./extensions/storage')
|
||||
chrome.storage = require('./extensions/storage').setup(extensionId)
|
||||
|
||||
chrome.pageAction = {
|
||||
show () {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue