Mattthew commited on
Commit
2699ccf
β€’
1 Parent(s): ac4b946

switched web search from Bing to DuckDuckGo

Browse files

DDG offers much better image search experience

Files changed (2) hide show
  1. index.html +1 -1
  2. 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> Bing 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>
 
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://www.bing.com/images/search?q=' + artist[1].replace(' ','+') + '+' + artist[0].replace(' ','+') + '+artist';
337
  artSearch.target = '_blank';
338
- artSearch.title = 'Bing image search';
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);