為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.

所有回覆 (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.