Keyboard shortcut to close all tabs without closing Firefox - firefox

Is there a keyboard shortcut to close all open tabs without closing Firefox?
In fact, I want Firefox not to close when all tabs are closed. There may be a new blank tab after all tabs are closed.

Follow the instructions in this post to configure FireFox to not close the window when the last tab is closed:
(Don’t) Close Firefox with Last Tab
If you hold CTRL + W all tabs will close very quickly, when the last one is closed, you will get the default tab that is there when you open FireFox.

Related

How to hide the tab close button [X] in sublime?

I open a lot of tabs in sublime, when I switch tab by clicking other tab, I sometimes mis-click on their close button.
Is it possible to hide the close button(X) in sublime? I usually close with keyboard shortcut or middle click, so I don't need the close button.
Add this in preference:
"show_tab_close_buttons": false

How to close Vscode window without closing all tabs in macOS

I switch between many projects, all having triple panes and many tabs open. When I'm not working on a project I close the window using the GUI by the normal red close window button. When I open it again all my tabs are as I've left.
How do I do it with a keyboard shortcut? Cmd+W closes the current tab (which I don't want), Cmd+Q quits Vscode completely (which I don't want either), closing all windows. How do I close a single Vscode window with keyboard, identical to hitting the close button with mouse, so that when I reopen the window in the future all my tabs are intact?
Okay found the shortcut after searching with a better query on Google. It is:
Cmd + Shift + W

Capture screenshot of all open tabs

Since Firefox 18 a user can take a screenshot of an open tab by pressing shift+f2 and running screenshot --fullpage. Can the Firefox terminal be used to take a screenshot of all currently open tabs?

Restarting firefox using the developer console (shift+F2) makes every restarted window have the developer console open

When I restart firefox using the developer console, i press shift+F2 and then I write
restart
in the command line that comes up at the bottom and press ENTER.
This is of course a very useful feature, every window dissapears and comes back, but each restarted window will also have the developer console opened as if I was pressing shift+F2 on everyone of them.
Why?
The Developer Toolbar is a global thing, just like any other toolbar (e.g. Nav Bar or Bookmarks Bar). Firefox will remember the visiblity state and will restore it when opening new windows, either the usual way, or after a restart.
Just close the toolbar in one window, and it will be closed in every other window as well.

Having debugger open Firefox in current tab instead of creating new tab

So every time I run a debug from my development IDE and Firefox is called to display my app, I get my app displayed in a new Firefox tab. That means one new tab every time I start a debug session and before long I've got 10-20 Firefox tabs open.
Can I have it so it reuses the existing tab open?
I could only find Firefox command line options to open new windows etc, not to use the current window/tab.
Just in case the above link disappears, it details going to the about:config screen in Firefox (just enter about:config in address bar) and changing the value of 'browser.link.open_newwindow' from 3 to 1.

Resources