Created
July 22, 2024 22:06
-
-
Save jasonreiche/39983898a40af1d0db762fb5b6e5f272 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(()=> { | |
// Add a pink background to all headings | |
const s = document.createElement("style"); | |
s.innerText = "h1, h2, h3, h4, h5, h6 { background-color: pink; }"; | |
document.head.appendChild(s); | |
// Spell check and make content editable | |
document.body.contentEditable = true; | |
document.body.spellcheck = true; | |
//Open all accordions | |
[...document.querySelectorAll('div[role="button"][aria-label="Expand"]')].forEach(b=>b.click()); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment