If you click on a tab with the right mouse button, then you have the option to close all other tabs.

After clicking on this entry, a warning message appears.

In contrast to the warning message when closing the browser, you cannot simply deactivate the warning message above by unchecking it, as is the case with this message.

So if you don't want this warning message for other tabs, you have to change the relevant value in Firefox's about:config.
Regarding about:config I had already written an explanation here.
about:config explanation
This explanation also serves to give you a better overview if you have already changed something.
So I recommend checking them out.
And this is how the change is made in about:config.
First, start Firefox and then type in the address bar at the top
about:config
and then press Enter, now confirming the warning message.

Then make the following entry at the top left under Value:
browser.tabs.warnOnCloseOtherTabs
On the right-hand side, under Value, is the entry: true.

Now double-click this value with the left mouse button and change it from true to false.

Then restart Firefox for the change to take effect.
From now on, clicking on: Close other tabs will no longer show a warning message and the tabs will be closed immediately.
Click the button below to load the content from ws-eu.amazon-adsystem.com.
load content
PHA+=