Skip to content

Commit 0d60e44

Browse files
committed
Add SauceNAO and IQDB as search engines
Fixes #5
1 parent 5045b23 commit 0d60e44

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

background.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ function reverseSearch(info, storedSettings) {
5252
return 'https://www.tineye.com/parse?url=%s';
5353
} else if (searchProvider == 'baidu') {
5454
return 'https://image.baidu.com/n/pc_search?queryImageUrl=%s'
55+
} else if (searchProvider == 'saucenao') {
56+
return 'https://saucenao.com/search.php?db=999&url=%s'
57+
} else if (searchProvider == 'iqdb') {
58+
return 'https://iqdb.org/?url=%s'
5559
} else if (searchProvider == 'other') {
5660
return storedSettings.cseProvider;
5761
}

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "__MSG_extensionName__",
55
"description": "__MSG_extensionDescription__",
66
"author": "Andreas Bielawski",
7-
"version": "2.1.1",
7+
"version": "2.1.2",
88
"icons" : {
99
"16": "icons/16.png",
1010
"32": "icons/32.png",

options/options.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
<option value="yandexru">Яндекс</option>
4343
<option value="baidu">Baidu</option>
4444
<option value="tineye">TinEye</option>
45+
<option value="saucenao">SauceNAO</option>
46+
<option value="iqdb">IQDB</option>
4547
<option id="otherCSE" value="other"></option>
4648
</select>
4749
</div>

0 commit comments

Comments
 (0)