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

搜尋 Mozilla 技術支援網站

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

了解更多

What are the KEYstroke(s) used to CLOSE the active tab in the web browser?

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

more options

What are the KEYstroke(s) used to CLOSE the active tab in the web browser? I am reluctant to use a mouse where I can use keystrokes, as the mouse is a much slower process. In fact, can I find a list of all key strokes which can be used in Firefox, e.g. ALT+S followed by R (once or more) and ENTER used to restore previous browsing session; or CTRL+F to search for a specific word or term? Thank you.

What are the KEYstroke(s) used to CLOSE the active tab in the web browser? I am reluctant to use a mouse where I can use keystrokes, as the mouse is a much slower process. In fact, can I find a list of all key strokes which can be used in Firefox, e.g. ALT+S followed by R (once or more) and ENTER used to restore previous browsing session; or CTRL+F to search for a specific word or term? Thank you.

被選擇的解決方法

CTRL + W closes one tab at a time. it also closes a window if there's only one tab opened in that browser.

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

所有回覆 (4)

more options

選擇的解決方法

CTRL + W closes one tab at a time. it also closes a window if there's only one tab opened in that browser.

由 Hasan 於 修改

more options

Many thanks. I've tried it and it works, of course. If you know of a source for all/most/some other such key short-cuts, please point me towards it. Thanks again.

more options
more options

You can set the pref browser.tabs.closeWindowWithLastTab to false on the about:config page to prevent closing the last tab from closing the browser and make a close button appear if only one tab is open.

To open the about:config page, type about:config in the location (address) bar and press the "Enter" key, just like you type the url of a website to open a website.
If you see a warning then you can confirm that you want to access that page.

  • Use the Filter bar at to top of the about:config page to locate a preference more easily.
  • Preferences that have been modified show as bold(user set).
  • Preferences can be reset to the default or changed via the right-click context menu.