搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.