Update any existing Sauce settings for HTTPS support changes. #2347
This commit is contained in:
parent
1f4e811c92
commit
e303f56bf6
@ -489,6 +489,9 @@ Settings =
|
|||||||
/https:\/\/www\.yandex\.com\/images\/search/g,
|
/https:\/\/www\.yandex\.com\/images\/search/g,
|
||||||
'https://yandex.com/images/search'
|
'https://yandex.com/images/search'
|
||||||
)
|
)
|
||||||
|
if compareString < '00001.00014.00009.00000'
|
||||||
|
if data['sauces']?
|
||||||
|
set 'sauces', data['sauces'].replace(/^(#?\s*)(?:http:)?\/\/(www\.pixiv\.net|www\.deviantart\.com|imgur\.com|flickr\.com)\//mg, '$1https://$2/')
|
||||||
changes
|
changes
|
||||||
|
|
||||||
loadSettings: (data, cb) ->
|
loadSettings: (data, cb) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user