diff --git a/src/General/Config.coffee b/src/General/Config.coffee index 4c7e24da1..708590e1b 100644 --- a/src/General/Config.coffee +++ b/src/General/Config.coffee @@ -703,7 +703,7 @@ Config = MD5: '' sauces: """ - https://www.google.com/searchbyimage?image_url=%IMG + https://www.google.com/searchbyimage?image_url=%IMG%3Fs.jpg //iqdb.org/?url=%IMG http://eye.swfchan.com/search/?q=%name;types:swf;sandbox #//tineye.com/search?url=%IMG diff --git a/src/General/Settings.coffee b/src/General/Settings.coffee index 1764779aa..72ec95775 100644 --- a/src/General/Settings.coffee +++ b/src/General/Settings.coffee @@ -336,6 +336,9 @@ Settings = if compareString < '00001.00011.00020.00003' for key, value of {'Inline Cross-thread Quotes Only': false, 'Pass Link': true} changes[key] = value unless data[key]? + if compareString < '00001.00011.00020.00004' or compareString is '00001.00011.00021.00000' + if data['sauces']? + changes['sauces'] = data['sauces'].replace /^#?\s*https:\/\/www\.google\.com\/searchbyimage\?image_url=%(?:IMG|URL)(?=$|;)/mg, '$&%3Fs.jpg' changes loadSettings: (data, cb) ->