const list = document.getElementById("sheetList");
const sheets = document.styleSheetSets;
list.textContent = "";
for (const sheet of sheets) {
const item = document.createElement("li");
item.textContent = sheet;
list.appendChild(item);
}Document: styleSheetSets property / notebook
Document: styleSheetSets property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.