Switch Google image search back to old version, thanks to https://boards.4channel.org/g/thread/91737566#p91789527

This commit is contained in:
ccd0 2023-02-26 22:48:30 -08:00
parent eb25d6e797
commit c68a8afbdf
2 changed files with 8 additions and 1 deletions

View File

@ -548,6 +548,12 @@ Settings =
if compareString < '00001.00014.00022.00002'
if data['sauces']?
set 'sauces', data['sauces'].replace(/^#?\s*https:\/\/www\.google\.com\/searchbyimage\?image_url=%(IMG|T?URL)&safe=off(?=$|;)/mg, 'https://lens.google.com/uploadbyurl?url=%$1')
if compareString < '00001.00014.00022.00003'
if data['sauces']?
set 'sauces', data['sauces'].replace(/^#?\s*https:\/\/lens\.google\.com\/uploadbyurl\?url=%(IMG|T?URL)(?=$|;)/mg, 'https://www.google.com/searchbyimage?sbisrc=4chanx&image_url=%$1&safe=off')
addSauces [
'#https://lens.google.com/uploadbyurl?url=%IMG;text:lens'
]
changes
loadSettings: (data, cb) ->

View File

@ -774,10 +774,11 @@ Config =
https://www.facebook.com/photo.php?fbid=%$1;regexp:/^\\d+_(\\d+)_\\d+_[no]\\b/
# Reverse image search:
https://lens.google.com/uploadbyurl?url=%IMG
https://www.google.com/searchbyimage?sbisrc=4chanx&image_url=%IMG&safe=off
https://yandex.com/images/search?rpt=imageview&url=%IMG
#//tineye.com/search?url=%IMG
#//www.bing.com/images/search?q=imgurl:%IMG&view=detailv2&iss=sbi#enterInsights
#https://lens.google.com/uploadbyurl?url=%IMG;text:lens
# Specialized reverse image search:
//iqdb.org/?url=%IMG