Turn 'Force Noscript Captcha for v1' off by default in GM4 due to missing frame support.
This commit is contained in:
parent
b53bd98f66
commit
f36dbfc669
@ -66,6 +66,10 @@ Main =
|
|||||||
Conf['Bottom QR Link'] = true
|
Conf['Bottom QR Link'] = true
|
||||||
Conf['Toggleable Thread Watcher'] = true
|
Conf['Toggleable Thread Watcher'] = true
|
||||||
|
|
||||||
|
# XXX Frames not yet supported in GM4.
|
||||||
|
if $.engine is 'gecko' and GM?
|
||||||
|
Conf['Force Noscript Captcha for v1'] = false
|
||||||
|
|
||||||
# Enforce JS whitelist
|
# Enforce JS whitelist
|
||||||
($.getSync or $.get) {'jsWhitelist': Conf['jsWhitelist']}, ({jsWhitelist}) ->
|
($.getSync or $.get) {'jsWhitelist': Conf['jsWhitelist']}, ({jsWhitelist}) ->
|
||||||
$.addCSP "script-src #{jsWhitelist.replace(/^#.*$/mg, '').replace(/[\s;]+/g, ' ').trim()}"
|
$.addCSP "script-src #{jsWhitelist.replace(/^#.*$/mg, '').replace(/[\s;]+/g, ' ').trim()}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user