view a website's css code example
Example: see css from site
var sts = document.styleSheets;
var result = [];
for (var i = 0; i < sts.length; i++) {
var st = sts.item(i);
if (st && st.href) {
result.push(st.href.match(/\w*\.css/));
}
}
console.dir(result);