mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02:00
chore: declaratively inject content_scripts using manifest file
This commit is contained in:
parent
2e229188cc
commit
5126e66298
@ -56,6 +56,13 @@ const manifestInput = {
|
||||
scripts: ['js/background.bundle.js'],
|
||||
'__chrome|opera__persistent': false,
|
||||
},
|
||||
|
||||
content_scripts: [
|
||||
{
|
||||
matches: ['http://*/*', 'https://*/*'],
|
||||
js: ['js/contentScript.bundle.js'],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
module.exports = manifestInput;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user