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 的規定,請 檢舉並請求移除

登入以評價、評論或提問。