搜尋 Mozilla 技術支援網站

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

Learn More

Turn off middle click close tab function

more options

While using firefox with mac trackpad or magic mouse it's really easy to accidentally middle click to a tab and close it. It's really frustrating to loose a tab. I guess it wouldn't be so hard to put an option to disable that function. That would make life so much easier. And there are LOTS of requests for the same thing in this site many of them more than years old.

While using firefox with mac trackpad or magic mouse it's really easy to accidentally middle click to a tab and close it. It's really frustrating to loose a tab. I guess it wouldn't be so hard to put an option to disable that function. That would make life so much easier. And there are LOTS of requests for the same thing in this site many of them more than years old.

所有回覆 (3)

more options

There is no way to remove the middle-click action to close a tab. You can easily undo an accidentally closed tab via "History -> Recently Closed Tabs".

有幫助嗎?

more options

Recently closed tabs does not recall filled (but not submitted) text, form etc.

有幫助嗎?

more options

If the page forbids caching or clears fields on restore, then unfortunately you will lose data.

It is possible to inject a script into the page to prevent it from closing immediately. You may occasionally have seen a prompt about whether you really want to leave the page. I don't know whether there are any add-ons you can use to inject such a script specifically into pages with forms, or just when you want it there, but that might help until someone comes up with something better.

Or you can use an add-on that saves form content as you type. I don't use these myself, but these are two that have been around for quite a while:

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題