finally, I have come up with a solution.
What I did is that
1. not to include the CSS files in manifest.json
2. in a js file that is included in content script, do the following
things:
add var htmlElement = document.createElement("link");
add attrubutes rel="stylesheets", type="text/css",
href=chrome.extension.getURL("RELATIVE CSS FILE PATH") in htmlElement
add htmlElement to the head of the document
by doing this, relative path can be used in the CSS files.
--
You received this message because you are subscribed to the Google Groups
"Chromium-extensions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/chromium-extensions?hl=en.