Skip to content
hm
::
dev
projects
posts
tags
about
Search
⌘K
projects
posts
tags
about
›
esc
→ Projects
page
→ Posts
blog
→ Tags
page
→ About
page
→ Full search
pagefind
$ grep -l "web-locks" posts/
#
web-locks
All the articles tagged "web-locks".
2026-10-13
Using the Web Locks API to stop duplicate work across browser tabs
Three open tabs means three token refreshes and three sync loops. navigator.locks gives you a mutex across tabs and workers in a few lines, if you know where it stops working.
javascript