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 の規則に違反するなら、削除依頼してください

評価やコメント、質問を投稿するにはログインしてください