Mattthew
commited on
Commit
β’
2699ccf
1
Parent(s):
ac4b946
switched web search from Bing to DuckDuckGo
Browse filesDDG offers much better image search experience
- index.html +1 -1
- index.js +2 -2
index.html
CHANGED
@@ -190,7 +190,7 @@
|
|
190 |
<li><strong>name</strong> to copy them to clipboard</li>
|
191 |
<li><strong>tags</strong> to copy them to clipboard</li>
|
192 |
<li><strong>βοΈ</strong> to toggle them as favorited</li>
|
193 |
-
<li><strong>π</strong>
|
194 |
<li><strong>π¨π§ποΈ</strong> rotate between the 3 prompts</li>
|
195 |
<li><strong>model</strong> switch between vanilla SDXL (A) and another model (B)</li>
|
196 |
</ul>
|
|
|
190 |
<li><strong>name</strong> to copy them to clipboard</li>
|
191 |
<li><strong>tags</strong> to copy them to clipboard</li>
|
192 |
<li><strong>βοΈ</strong> to toggle them as favorited</li>
|
193 |
+
<li><strong>π</strong> Web search for the artist</li>
|
194 |
<li><strong>π¨π§ποΈ</strong> rotate between the 3 prompts</li>
|
195 |
<li><strong>model</strong> switch between vanilla SDXL (A) and another model (B)</li>
|
196 |
</ul>
|
index.js
CHANGED
@@ -333,9 +333,9 @@ function insertArtists() {
|
|
333 |
//
|
334 |
var artSearch = document.createElement('a');
|
335 |
artSearch.className = 'art_search';
|
336 |
-
artSearch.href = 'https://
|
337 |
artSearch.target = '_blank';
|
338 |
-
artSearch.title = '
|
339 |
var artSearchSpan = document.createElement('span');
|
340 |
artSearchSpan.textContent = 'π';
|
341 |
artSearch.appendChild(artSearchSpan);
|
|
|
333 |
//
|
334 |
var artSearch = document.createElement('a');
|
335 |
artSearch.className = 'art_search';
|
336 |
+
artSearch.href = 'https://duckduckgo.com/?iax=images&ia=images&q=' + artist[1].replace(' ','+') + '+' + artist[0].replace(' ','+') + '+artist';
|
337 |
artSearch.target = '_blank';
|
338 |
+
artSearch.title = 'Web image search';
|
339 |
var artSearchSpan = document.createElement('span');
|
340 |
artSearchSpan.textContent = 'π';
|
341 |
artSearch.appendChild(artSearchSpan);
|