document.addEventListener('DOMContentLoaded', function() { var mecountobserver = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (mutation.type == "childList") { var m = mutation.target if (m.innerHTML) { m.style.width = "18px" if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) { m.style.backgroundColor = "var(--bg-page)" m.style.color = "var(--fg-subtle)" } } else { m.style.width = "0px" } } }) }) mecountobserver.observe(document.getElementById("mecount"), { childList: true }) });