Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

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.

All Replies (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".

Helpful?

more options

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

Helpful?

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:

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.