Skip to content

Instantly share code, notes, and snippets.

View eliot-cole's full-sized avatar

Eliot eliot-cole

View GitHub Profile
@BookGin
BookGin / firefox-unregister-all-service-workers.js
Last active March 24, 2026 10:16
Unregister all service workers in Firefox.
# navigate to about:debugging#workers first
for (let k of document.getElementsByClassName("unregister-link")) k.click()
for (let k of document.getElementsByClassName("qa-unregister-button")) k.click()

Demo:

Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

console.log("I'm a code block!");