Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ <h2 id="tagline">Easily search the fediverse in your preferred search engine</h2
<option value="bing">Bing</option>
<option value="yahoo">Yahoo</option>
<option value="dogpile">Dogpile</option>
<option value="kagi">Kagi</option>
<option value="brave">Brave Search</option>
<option value="ecosia">Ecosia</option>
</select>
</div>
<h3>Select networks to include in search:</h3>
Expand Down
6 changes: 6 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ function searchRedirect(e) {
search_engine = "https://search.yahoo.com/search?p=";
else if (preferred_engine === "dogpile")
search_engine = "https://www.dogpile.com/serp?q=";
else if (preferred_engine === "kagi")
search_engine = "https://kagi.com/search?q=";
Comment thread
programmer2514 marked this conversation as resolved.
else if (preferred_engine === "brave")
search_engine = "https://search.brave.com/search?q=";
Comment thread
programmer2514 marked this conversation as resolved.
else if (preferred_engine === "ecosia")
search_engine = "https://www.ecosia.org/search?q=";
Comment thread
eat-your-glory marked this conversation as resolved.

if (search_query) {
if (preferred_engine.includes("_acc")) {
Expand Down