Don't use the new GM API on Tampermonkey yet. #1534
This commit is contained in:
parent
3226a05c4f
commit
8bc6fe1ed3
@ -510,7 +510,7 @@ do ->
|
||||
# http://wiki.greasespot.net/Main_Page
|
||||
# https://tampermonkey.net/documentation.php
|
||||
|
||||
if GM?.deleteValue?
|
||||
if GM?.deleteValue? and window.BroadcastChannel and not GM_addValueChangeListener?
|
||||
|
||||
$.syncChannel = new BroadcastChannel(g.NAMESPACE + 'sync')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user