Use GM_deleteValue to determine whether GM_* function support is good enough. #69
This commit is contained in:
parent
5f8ac8b8f6
commit
636bcf4af5
@ -418,7 +418,7 @@ do ->
|
||||
# http://wiki.greasespot.net/Main_Page
|
||||
$.oldValue = {}
|
||||
|
||||
if GM_getValue?
|
||||
if GM_deleteValue?
|
||||
$.getValue = GM_getValue
|
||||
$.setValue = (key, val) ->
|
||||
GM_setValue key, val
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user