use getConfig instead of GM_getValue
not like it's gonna actually matter, though, since only firefox can auto-watch, and if you're using that, you don't need to manually edit the src.
This commit is contained in:
parent
24ce495955
commit
fa47382f75
@ -107,7 +107,7 @@ if location.hostname.split('.')[0] is 'sys'
|
||||
GM_setValue('error', b.firstChild.textContent)
|
||||
else
|
||||
GM_setValue('error', '')
|
||||
if GM_getValue('Auto Watch')
|
||||
if getConfig('Auto Watch')
|
||||
html = $('b').innerHTML
|
||||
[nop, thread, id] = html.match(/<!-- thread:(\d+),no:(\d+) -->/)
|
||||
if thread is '0'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user