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.

아직 토론이 없습니다.

리뷰, 댓글 또는 질문 게시

이 스크립트가 Greasy Fork 규칙을 위반한다고 생각되면 삭제를 신고해 주세요.

리뷰, 댓글 또는 질문을 게시하려면 로그인하세요.