Skip to content

Instantly share code, notes, and snippets.

View darioalbanesi's full-sized avatar
🤔

Dario Albanesi darioalbanesi

🤔
  • Digitec Galaxus
  • Zurich
View GitHub Profile
function countCSSRules() {
var results = '',
log = '';
if (!document.styleSheets) {
return;
}
for (var i = 0; i < document.styleSheets.length; i++) {
countSheet(document.styleSheets[i]);
}
function countSheet(sheet) {