Google Chrome拡張機能内で、DOMAPIを使用してスタイルシートとその要素を取得しています。これらは、私がそれらを見るまでにChromeによってすでに解析されています-Chromeが拡張機能を介してそれを保持する前に、事前に解析されたCSSを表示する方法はありますか?
1 に答える
1
I assume you want to read the original *.css
files. 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.)
于 2012-09-26T19:22:32.473 に答える