Replace Google image search link with Google Lens.
This commit is contained in:
parent
d16062a8fa
commit
f3f03f5e79
@ -545,6 +545,9 @@ Settings =
|
|||||||
if compareString < '00001.00014.00020.00004'
|
if compareString < '00001.00014.00020.00004'
|
||||||
if data['archiveLists']?
|
if data['archiveLists']?
|
||||||
set 'archiveLists', data['archiveLists'].replace('https://nstepien.github.io/archives.json/archives.json', 'https://4chenz.github.io/archives.json/archives.json')
|
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
|
changes
|
||||||
|
|
||||||
loadSettings: (data, cb) ->
|
loadSettings: (data, cb) ->
|
||||||
|
|||||||
@ -774,11 +774,10 @@ Config =
|
|||||||
https://www.facebook.com/photo.php?fbid=%$1;regexp:/^\\d+_(\\d+)_\\d+_[no]\\b/
|
https://www.facebook.com/photo.php?fbid=%$1;regexp:/^\\d+_(\\d+)_\\d+_[no]\\b/
|
||||||
|
|
||||||
# Reverse image search:
|
# 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
|
https://yandex.com/images/search?rpt=imageview&url=%IMG
|
||||||
#//tineye.com/search?url=%IMG
|
#//tineye.com/search?url=%IMG
|
||||||
#//www.bing.com/images/search?q=imgurl:%IMG&view=detailv2&iss=sbi#enterInsights
|
#//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:
|
# Specialized reverse image search:
|
||||||
//iqdb.org/?url=%IMG
|
//iqdb.org/?url=%IMG
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user