There was an error while loading. Please reload this page.
1 parent 4aebcd1 commit 48b3bfcCopy full SHA for 48b3bfc
README.md
@@ -729,18 +729,18 @@ function findAllInlineCSS() {
729
for (const css of [...inlineCSS]) {
730
const html = css.innerHTML;
731
const size = new Blob([html]).size;
732
- css.byteSize = convertToKb(size) + " kb";
+ css.byteSizeInKb = convertToKb(size)
733
totalByteSize += size;
734
}
735
// customize table here, can right click on header in console to sort table
736
console.table(inlineCSS, [
737
"baseURI",
738
"parentElement",
739
- "byteSize",
+ "byteSizeInKb",
740
"innerHTML"
741
]);
742
743
- console.log(convertToKb(totalByteSize) + " kb");
+console.log(`Total size: ${convertToKb(totalByteSize)} kB`);
744
745
746
findAllInlineCSS()
0 commit comments