Within a Google Chrome extension I am using the DOM api to get the stylesheets and their elements. These have already been parsed by Chrome by the time I get to see them – is there any way to view the pre-parsed CSS before Chrome gets hold of it through an extension?
Share
I assume you want to read the original
*.cssfiles. If that’s what you want, you can simply fetch the files as text files via Ajax and read their contents as strings. (If the files are on a website, not packaged in the extension, ensure sure you have host permissions for that domain, or all domains, depending on your needs.)