I am trying to read the pages CSS using a chrome extension. This is what i have in my content script :
var allSheets = document.styleSheets; for (var
Just a guess, but since chrome extensions are Javascript based, they may have cross domain issues. Chrome sets the rules and cssRules to null when programmatically trying to get a stylesheet from another domain.