Skip to content
New issue

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

inject.js how to include css? #63

Open
johnrosenbaud11 opened this issue Feb 27, 2017 · 2 comments
Open

inject.js how to include css? #63

johnrosenbaud11 opened this issue Feb 27, 2017 · 2 comments

Comments

@johnrosenbaud11
Copy link

johnrosenbaud11 commented Feb 27, 2017

I can't seem to be able to add css to inject.js (the file containing injectApp) in any way, how to import/require/?

(I tried adding '< link > ' of cdn-hosted stylesheet in background.html to no avail, it won't read it. )

Thank you!

@jhen0409
Copy link
Owner

jhen0409 commented Mar 1, 2017

You can try chrome.tabs.executeScript like inject bundle usage, it can also load css file.

@guanpengchn
Copy link

@jhen0409 can you give an example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants