Mentioning Neoseeker in docs and settings

pull/680/head
Kevin Payravi 2024-02-23 03:38:58 -05:00
parent d5a8c39159
commit 38235496dd
4 changed files with 14 additions and 12 deletions

View File

@ -104,7 +104,7 @@
Search results in Google, Bing, DuckDuckGo, Yahoo, Brave Search, Ecosia, Startpage, Qwant, Yandex, and Kagi can also be filtered,
replacing non-independent wikis with links to independent counterpart (or hiding them completely).
<br /><br />
We currently redirect from Fandom and Fextralife wikis to independent counterparts.
We currently redirect from Fandom, Fextralife, and Neoseeker wikis to independent counterparts.
<br /><br />
Indie Wiki Buddy also supports <a href="https://breezewiki.com/">BreezeWiki</a>, a separate service that renders
Fandom wikis without ads or bloat.
@ -137,13 +137,14 @@
</li>
<br />
<li>
<b><span aria-hidden="true">🔔</span> On search engines, show banner when Fandom/Fextralife results are hidden</b>
<b><span aria-hidden="true">🔔</span> On search engines, show banner when non-indie results are hidden</b>
<br />
When this option is enabled, a banner will be inserted at the top of search engine results when Indie Wiki Buddy
has hidden results from Fandom/Fextralife wikis. This banner also lets you re-show the hidden results if you wish.
has hidden results from Fandom, Fextralife, or Neoseeker wikis.
This banner also lets you re-show the hidden results if you wish.
<br />
<br />
If you don't want to see any indication that Fandom/Fextralife results have been hidden, disable this option.
If you don't want to see any indication that results have been hidden, disable this option.
</li>
<br />
<li>

View File

@ -300,7 +300,7 @@
<legend><span aria-hidden="true">⚙️</span> Default behaviors (apply to all current and new wikis in future
updates)</legend>
<div role="radiogroup" aria-labelledby="defaultWikiActionLabel">
<span id="defaultWikiActionLabel">When visiting Fandom/Fextralife wikis:</span>
<span id="defaultWikiActionLabel">When visiting Fandom, Fextralife, and Neoseeker wikis:</span>
<div class="radioGroup horizontal">
<label>
<input id="defaultWikiActionDisabledRadio" type="radio" name="defaultWikiAction" value="disabled" />
@ -360,7 +360,7 @@
<input id="hiddenResultsBannerCheckbox" type="checkbox" />
<span id="hiddenResultsBannerIcon" aria-hidden="true"></span>
On search engines, show banner when
Fandom/Fextralife results are hidden
non-indie results are hidden
</label>
</div>
<div class="settingToggle">

View File

@ -541,8 +541,8 @@
This includes the option to enable <a href="https://breezewiki.com/" target="_blank">BreezeWiki</a>,
an alternative frontend that renders Fandom wikis without ads or bloat.
<br /><br />
Below that, you can configure what happens when you visit each Fandom and Fextralife wiki that has an
independent alternative, as well as what happens to their results in search engines.
Below that, you can individually configure what happens when you visit Fandom, Fextralife, and Neoseeker
wikis that have an independent alternative, as well as what happens to their results in search engines.
For visiting wikis, you can choose to be
<img src="../../images/toggle-alert.png" width="12" alt="" /> alerted (default)
or
@ -584,7 +584,7 @@
<input id="hiddenResultsBannerCheckbox" type="checkbox" />
<span id="hiddenResultsBannerIcon" aria-hidden="true"></span>
On search engines, show banner when
Fandom/Fextralife results are hidden
non-indie results are hidden
</label>
</div>
<div class="settingToggle">
@ -647,7 +647,7 @@
<legend>
<span aria-hidden="true"></span> Icon legend
</legend>
<span class="text-sm">When visiting a Fandom or Fextralife wiki that has an independent alternative, IWB
<span class="text-sm">When visiting Fandom, Fextralife, or Neoseeker wikis with an independent alternative, IWB
can:</span>
<div>
<div>
@ -662,8 +662,8 @@
indie wiki
</div>
</div>
<span class="text-sm">When search engine results include a Fandom or Fextralife wiki that has an independent
alternative, IWB can:</span>
<span class="text-sm">When search engine results include Fandom, Fextralife, or Neoseeker wikis
with an independent alternative, IWB can:</span>
<div>
<div>
<img src="../../images/toggle-disabled.png" width="16" height="16" alt="" /> Do nothing

View File

@ -119,6 +119,7 @@ async function commonFunctionFindMatchingSite(site, crossLanguageSetting) {
}
);
}
if (matchingSites.length > 0) {
// Select match with longest base URL
let closestMatch = '';