I have manifest.json containing this:
{
"name": "Extension name",
"version": "0.1",
"description": "description",
"content_scripts": [
{
"matches": [
"https://www.google.com/*"
],
"js": [
"jquery-3.2.1.min.js",
"main.js"
]
}
],
"browser_action": {
"default_icon": "icon.png"
},
"manifest_version": 2
}
How to use:
"js": [
"jquery-3.2.1.min.js",
"main.js"
]
With links? If I want to use my file that I update online every time as:
"js": [
"jquery-3.2.1.min.js",
"https://mywebsite.com/scripts/main.js"
]