archive settings: edit name, descriptions
This commit is contained in:
parent
4d40b30c28
commit
f6206b766f
@ -79,7 +79,7 @@ Redirect =
|
||||
securityCheck: (URL) ->
|
||||
/^https:\/\//.test(URL) or
|
||||
location.protocol is 'http:' or
|
||||
Conf['Allow Mixed Content from Archives']
|
||||
Conf['Except Archives from Encryption']
|
||||
|
||||
navigate: (URL, alternative) ->
|
||||
if URL and (
|
||||
|
||||
@ -27,11 +27,11 @@ Config =
|
||||
]
|
||||
'404 Redirect': [
|
||||
true
|
||||
'Redirect dead threads and images.'
|
||||
'Redirect dead threads and images to the archives.'
|
||||
]
|
||||
'Allow Mixed Content from Archives': [
|
||||
'Except Archives from Encryption': [
|
||||
false
|
||||
'Permit warningless access to HTTP-only archives from HTTPS pages.'
|
||||
'Permit loading content from, and warningless redirects to, HTTP-only archives from HTTPS pages.'
|
||||
]
|
||||
'Keybinds': [
|
||||
true
|
||||
|
||||
@ -140,7 +140,7 @@ Get =
|
||||
responseType: 'json'
|
||||
withCredentials: url.archive.withCredentials
|
||||
return true
|
||||
else if Conf['Allow Mixed Content from Archives']
|
||||
else if Conf['Except Archives from Encryption']
|
||||
CrossOrigin.json url, (response) ->
|
||||
Get.parseArchivedPost response, boardID, postID, root, context
|
||||
return true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user