Comments (3)
When the manifest is scaffolded with a content script, the activeTab permission is added to the manifest. This is a default based on google's docs on how to use content scripts. As it stands right now, there isn't really a one size fits all scaffold, and this was the lest opinionated option to add to your manifest out of the box.
What were you expecting to show up in the manifest file? Always possible something important is missing.
from vue-cli-plugin-browser-extension.
I was expecting the content_scripts
option. As you said they both options are ways of executing content scripts.
"content_scripts": [
{
"matches": ["*://*/*"],
"js": ["content_scripts/content.js"]
}
],
This would be quite permissive, but at the same time the scaffold already includes
"permissions": [
"<all_urls>",
"*://*/*"
]
If you keep it like it is, it would already be useful adding your explanation to the readme.
from vue-cli-plugin-browser-extension.
Closing this
from vue-cli-plugin-browser-extension.
Related Issues (20)
- Conflict with `webextension-polyfill-ts` HOT 1
- add support for Manifest v3 HOT 39
- How to load css from tailwind inside shadowRoot ? HOT 3
- Cannot read property 'getCurrent' of undefined" HOT 1
- Bundled production-ready CSS filename in manifest.json HOT 9
- Output background.js in /dist/background.js HOT 3
- Does it support Vue3? HOT 1
- Doesn't work with code splitting (file.split is not a function) HOT 5
- browser.extension null HOT 7
- Source Map Errors HOT 1
- Webpack 5 support? HOT 5
- HMR for popup
- Allow for non-string objects in the `content_security_policy` field. HOT 4
- Sorry but what's standalone mean HOT 1
- Remove browser polyfill not work HOT 1
- TypeError: Cannot read properties of undefined (reading 'ignore') HOT 9
- Is this project dead? HOT 10
- manifest.json not copying correctly HOT 2
- MV3 live reload not working on chrome-extension://jxxxxxxxxxxxxxxxxxxxk/popup.html
- Advanced Extension Reloader
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-cli-plugin-browser-extension.