see css from site

Solutions on MaxInterview for see css from site by the best coders in the world

showing results for - "see css from site"
Linda
10 Jan 2020
1var sts = document.styleSheets;
2var result = [];
3for (var i = 0; i < sts.length; i++) {
4    var st = sts.item(i);
5    if (st && st.href) {
6       result.push(st.href.match(/\w*\.css/));
7    }
8}
9console.dir(result);