document.stylesheet[i] returns Null information when location of stylesheet is remote
问题 What I'm trying to accomplish: A Javascript function runs on page load: It parses the first style of the site's linked stylesheet, looking for a custom property that in turn tells the javascript to run a different function (the site can pull from a large library of stylesheets and the html cannot be modified on a per stylesheet basis, and some stylesheets require the running of different javascript functions). I thought the best method would be to use document.styleSheets[x].CSSRule[0].style