We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在 manifest 里面按照以下方式配置,发现无效。
content_scripts: [ { "matches": ["https://juejin.cn/*"], js: ['src/content/index.ts'], css: ['src/content/index.css'], }, ],
The text was updated successfully, but these errors were encountered:
Add your css file's path to "web_accessible_resources" and you should be good to go.
Source: https://stackoverflow.com/questions/11553600/how-to-inject-css-using-content-script-file-in-chrome-extension
Sorry, something went wrong.
CSS changes still won't trigger a auto refresh.
No branches or pull requests
我在 manifest 里面按照以下方式配置,发现无效。
content_scripts: [ { "matches": ["https://juejin.cn/*"], js: ['src/content/index.ts'], css: ['src/content/index.css'], }, ],
The text was updated successfully, but these errors were encountered: