Replace Google image search link with Google Lens.

This commit is contained in:
ccd0 2023-02-26 20:12:11 -08:00
parent d16062a8fa
commit f3f03f5e79
2 changed files with 4 additions and 2 deletions

View File

@ -545,6 +545,9 @@ Settings =
if compareString < '00001.00014.00020.00004'
if data['archiveLists']?
set 'archiveLists', data['archiveLists'].replace('https://nstepien.github.io/archives.json/archives.json', 'https://4chenz.github.io/archives.json/archives.json')
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')
changes
loadSettings: (data, cb) ->

View File

@ -774,11 +774,10 @@ Config =
https://www.facebook.com/photo.php?fbid=%$1;regexp:/^\\d+_(\\d+)_\\d+_[no]\\b/
# Reverse image search:
https://www.google.com/searchbyimage?image_url=%IMG&safe=off
https://lens.google.com/uploadbyurl?url=%IMG
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