Skip to content

Instantly share code, notes, and snippets.

@rmehner
Last active June 18, 2025 01:00
Show Gist options
  • Save rmehner/b9a41d9f659c9b1c3340 to your computer and use it in GitHub Desktop.
Save rmehner/b9a41d9f659c9b1c3340 to your computer and use it in GitHub Desktop.
Delete all indexedDB databases
// Credit to @steobrien from https://gist.github.com/rmehner/b9a41d9f659c9b1c3340#gistcomment-2940034
// for modern browsers, this works:
const dbs = await window.indexedDB.databases()
dbs.forEach(db => { window.indexedDB.deleteDatabase(db.name) })
// for older browsers, have a look at previous revisions of this gist.
@jor3l
Copy link

jor3l commented Jun 6, 2025

imagine when @LynetteCullens finds out about bookmarks 🤣

@LynetteCullens
Copy link

imagine when @LynetteCullens finds out about bookmarks 🤣

"No, GitHub does not have a built-in feature to bookmark individual comments within issues."
Don't you ever get my hopes up like that again. Bookmarks saved via a browser are not accessible at school or work. Also, bookmarking a webpage does not take you to a specific comment. What third-party bookmark tool are you using that does that?

@jor3l
Copy link

jor3l commented Jun 18, 2025

imagine when @LynetteCullens finds out about bookmarks 🤣

"No, GitHub does not have a built-in feature to bookmark individual comments within issues." Don't you ever get my hopes up like that again. Bookmarks saved via a browser are not accessible at school or work. Also, bookmarking a webpage does not take you to a specific comment. What third-party bookmark tool are you using that does that?

click the 3 dots in the comment box, it says copy link, this will take you to that comment. As for sharing bookmarks, it depends if you are able to open your profile or not but I guess you are able to open github so you could instead just star/fork or create gists with whatever worked for you, no need to comment on posts. Let me know if that works! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment