toolbar_buttons icon indicating copy to clipboard operation
toolbar_buttons copied to clipboard

Keyboard shortcut for Close Right Tabs Button ?

Open fad1 opened this issue 6 years ago • 2 comments

Would be great to be able to close tabs to the right using a keyboard shortcut :)

fad1 avatar Feb 28 '19 18:02 fad1

1. Summary

It would be nice to have shortcut for Close All Tabs button.

2. Argumentation

I'm working in Firefox on several projects. For each I have a separate workplace.

For each workplace I have specific set of pinned tabs. I want to write scripts, that, in particular, close all tabs of first workplace, then open and pin tabs for new workplace.

Problem — I can't find any method for closing all pinned tabs, include current.

3. Not helped

3.1. Scripts

I can programmatically press shortcut in Firefox. Example AutoHotkey script:

; [INFO] Activate Firefox window
WinActivate, ahk_exe firefox.exe
; [INFO] Press Win+Alt+W in activated window
Send +!w

But I can't find any method, how I can press to Firefox extension button programmatically.

3.2. Another extension

I tried, for example, these Firefox extensions for closing all tabs:

But they don't close pinned tabs, what I need.

Thanks.

Kristinita avatar Mar 25 '20 17:03 Kristinita

If I go back and update my extensions, which I am not planing on doing soon I will add keyboard shortcuts to them all.

codefisher avatar Mar 31 '20 07:03 codefisher