GM_lock

A lightweight, dependency-free mutex for Userscripts that ensures **only one tab / context** runs a critical section at a time. It coordinates through `GM.setValue` + `GM_addValueChangeListener`, so it works across multiple tabs, iframes, and even separate scripts that share the same @name/@namespace storage.

Brak dyskusji.

Napisz recenzję, komentarz lub pytanie

Jeśli myślisz, że ten skrypt łamie zasady Greasy Fork, możesz zgłosić go do usunięcia.

Zaloguj się, by napisać recenzję, komentarz lub pytanie.