Can't view the contents of injected stylesheets
Reported by
kaycebas...@gmail.com,
Jan 8 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3315.0 Safari/537.36 Steps to reproduce the problem: See https://stackoverflow.com/a/48157780/1669860 What is the expected behavior? When you inspect the CSS, there should be some way to easily view the source of the injected stylesheet. What went wrong? In the Styles pane, the injected properties show correctly, for example, you can see that the background-image of the body tag has been set by an "injected stylesheet", but there's no way to view the contents of that injected stylesheet. I would expect to be able to see the injected stylesheet as a request in the Network panel, or listed under "Content Scripts" although we need to rephrase that section to be more generic, since we're dealing with "Content Styles" in this case. Did this work before? No Chrome version: 65.0.3315.0 Channel: canary OS Version: OS X 10.12.6 Flash Version: This is the second most popular unanswered question on Stack Overflow: 14 votes and 6K views. https://stackoverflow.com/q/28402524/1669860
,
Jan 8 2018
Irish provided a code pattern workaround: https://stackoverflow.com/a/48157780/1669860 But if you inject the CSS via content_scripts, it doesn't seem possible to view the source code of the injected CSS stylesheet.
,
Jan 9 2018
,
Jan 9 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by kaycebas...@gmail.com
, Jan 8 2018