搜尋 Mozilla 技術支援網站

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

了解更多

is there a keyboard shortcut to go to the first text box on a page when the focus is on the Location Bar?

  • 4 回覆
  • 1 有這個問題
  • 209 次檢視
  • 最近回覆由 cor-el

more options

I can use Alt+D to get to the Location Bar to type in a URL, but is there a way I can then go to the default text box, to enter data, once the search engine page has been opened, by using a short-cut key? I didn't recognize any of the commands in the Shortcut Keys page as being what I want.

I can use Alt+D to get to the Location Bar to type in a URL, but is there a way I can then go to the default text box, to enter data, once the search engine page has been opened, by using a short-cut key? I didn't recognize any of the commands in the Shortcut Keys page as being what I want.

被選擇的解決方法

Not as far as I know. Sites can assign a shortcut key to a text field if they like, known as an AccessKey, but there isn't necessarily going to be any consistency, and the site you're using might not have one.

It's possible there could be an add-on or userscript to help with this. Or if not, someone might be able to write one for a particular site.

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

選擇的解決方法

Not as far as I know. Sites can assign a shortcut key to a text field if they like, known as an AccessKey, but there isn't necessarily going to be any consistency, and the site you're using might not have one.

It's possible there could be an add-on or userscript to help with this. Or if not, someone might be able to write one for a particular site.

more options

A possibility is to use the Tab key and have it set focus to text input fields only.
That would require to use F6 and Tab.

more options

This was helpful, but didn't really answer the question. Pressing Tab when I"m on the google Location Bar takes me to the search text box, which is what my motivation for writing the question was, but I notice that on many pages, it doesn't work. This page, for instance.

I went to the about:config page and changed the accessibility:tabfocus from 1 (tab through every element) to 5 (only tab to the text boxes and links) but it seems to still tab through every element.

more options

Press the F6 key first to set focus to the browser window.
Then pressing Tab once should bring you to the fist input field if the accessibility.tabfocus pref is set to 1