There are lots of online articles on how to disable the One-Click Search
List feature. Maybe you disable it.
After visiting
yandex.com and using the magifying glass icon (green "+")
in the searchbox, Yandex gets added to the search list. Under the path:
C:\Users\<myacct>\AppData\Roaming\Mozilla\Firefox\Profiles\<ffprofile>.default\
gets created the file:
searchplugins\yandex.xml
which has:
https://yandex.com/yandsearch?text={searchTerms}&from=os&clid=1836587
for its search URL. Apparently "{searchTerms}" gets replaced with the
string you enter into the searchbox. I went to
ixquick.com and used the
green "+" icon to add that search site to the list. An .xml file was
created in the searchplugins subfolder with a similar search URL using
"{searchTerms}" as a replaceable value.
There does seem a difference in installed search providers and added
search sites. The new files under the searchplugins subfolder only
appear when adding a search site (via green "+" icon), not when
installing a search provider.
What I have not found online is a description of how Firefox detects a
site's page as a search "landing" page and what URL to use for
submitting search criteria. The searchbox's magifying glass icon just
brings up the list of search providers. What gets Firefox to detect a
page is a search site to then add the green "+" icon (along with adding
the "Add <site>" choice in the list dialog) is what I don't know yet.
If I go to
support.mozilla.org, Firefox adds the green "+" overlay to
the magnifying glass icon in the searchbox. Perhaps Firefox is just
looking for an input object on a page where users enter some text. At
the Mozilla support site, there is a searchbox in the web page:
<form data-instant-search="form"
id="support-search"
action="/en-US/search"
method="get"
class="simple-search-form">
<input
name="q"
required="required"
aria-required="true"
placeholder="Search Mozilla Support"
class="searchbox"
id="search-q"
type="search">
<button
type="submit"
title="Search"
class="submit-button">
Search
</button>
</form>
The page has an input field (and a button) object for the user to enter
a string upon which to search. When I go to
cnn.com, there is no green
"+" overlay on the magnifier icon in Firefox's searchbox. The code for
the search field in that wab page is:
<form method="get"
action="/search/"
name="headerSearch">
<input class="search__input-field"
placeholder="Search CNN"
id="searchInputNav"
name="text" type="text">
<button class="search__button"
type="submit"
role="button">
<span class="search__button-text">
Search
</span>
</button>
</form>
For the Mozilla page, the input field has an ID (name) of "search-q".
At the CNN site, the input field has a name of "searchInputNav". Could
be Firefox is looking for input fields with recognizable names for those
objects, and CNN's name isn't in Firefox's list of recognized object
names.
Yet I went to
forum.avast.com which has a search field (input object
with name of "search") and there was no green "+" overlay. "search" is
about as basic a name for an input object as you can get to identify it
is to input the search string.
So it seems Mozilla hardcoded some fixed list of search sites where upon
visit then Firefox will show the green "+" overlay on the searchbox's
magnifier icon. I have found no one via online searches describing just
how Firefox will determine when it will add the green "+" overlay and
add the "Add <site>" option to the search list dialog. So, as far as I
am concerned, it just some FM that someone added to Firefox that cannot
be relied upon because how it works is not defined.
https://bugzilla.mozilla.org/show_bug.cgi?id=1106432
Apparently the green "+" overlay (on the magnifier icon) was an
afterthought. There already was the feature that you could click on the
magnifier icon to see the "Add <site>" option when Firefix detected an
"open search" (whatever that means). Instead of making users keep
clicking on the magnifier icon to see if they could add a site to the
search list, the green "+" overlay icon was to show the availability to
add the site to the search list.
>From the above bug report and mention of "open search discovery", I did
an online search on "firefox open search discovery" and found:
https://developer.mozilla.org/en-US/Add-ons/Creating_OpenSearch_plugins_for_Firefox
For a web site to offer an open search template usable by clients:
http://www.opensearch.org/Specifications/OpenSearch/1.1#OpenSearch_description_document
Notice the template has the q={searchTerms} argument that I noted
finding in the .xml file created under the searchplugins subfolder. So
the site has to provide the template for how the client will support an
"open search" template which then gets copied down to the client.
So I went back to
yandex.com to see how they were delivering the
OpenSearch template. There I found:
<link rel="search" href="//
yandex.com/opensearch.xml" title="Yandex"
type="application/opensearchdescription+xml">
So the site has to support the OpenSearch protocol, provide a template
for how to do the search (the template URL), that gets downloaded to the
client (Firefox), and the client then uses that template. Whew, what a
bunch of work to figure out how this, um, stuff works.
The Yandex site is providing the .xml file to support OpenSearch and
Firefox downloaded that file and stored it under the searchplugins
subfolder and added Yandex to my list of search providers. So the
framework is there. If you are not getting the green "+" overlay or the
"Add <site>" to the search list dialog then perhaps you have an add-on
that is interferring with this feature, or your unreleased version of
Firefox has a bug (which happens a lot with unreleased versions).