Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.
Close browser by closing last tab
I would like my browser to close when I close the last tab. I tried browser.tabs.closeWindowWithLastTab;true but when rightclicking the last tab, "close" is grayed out.
Back to Chrome then, thanks.Read this answer in context 👍 1
All Replies (5)
(deleted by moderator)
Athraithe ag cor-el ar
woops sorry wrong copypasta, what i meant to say was have you tried turning it off and on again
You can't close the last tab via the right-click context menu or via a middle-click if browser.tabs.closeWindowWithLastTab is true.
If the pref is false then you can close the tab, but not the window.
You can only close the last tab and window via the Ctrl+W shortcut.
Via the menu only Quit or Exit is available unless you open the File menu via the Alt+F shortcut and then you see Close Tab.
Back to Chrome then, thanks.
did u try my sugestion