Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Learn More

What does Firefox look for to enable 'Add a Keyword for this Search...' ?

more options

I have an angular app that has an input field of type search. When I right-click on this input field I don't see 'Add a Keyword for this Search...'. What exactly is Firefox looking for to display this option in the dropdown? I searched Google and could not find any information around this.

I have an angular app that has an input field of type search. When I right-click on this input field I don't see 'Add a Keyword for this Search...'. What exactly is Firefox looking for to display this option in the dropdown? I searched Google and could not find any information around this.

Svi odgovori (2)

more options

Attaching screenshot.

more options

I never paid any attention to "Add a Keyword for this Search..." but now that I click random form fields, it seems to appear for fields that have nothing to do with searching. They are

<input type="text">

between <form action=URI> and </form> tags.

I haven't yet found a document explaining what Firefox is looking for before it shows that item, but if you don't have an actual form and just have some onclick behavior, that could be the issue.