justdanpo / VivaldiHooks

VivaldiHooks is a set of hooks/scripts for Vivaldi browser modding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

qc-close-tab: Possible to close tab with Delete key?

Pathduck opened this issue · comments

Would it be possible to add a feature to this hook to allow closing tabs with Delete? It would be a massive timesaver :)

Oh and thanks for your excellent work mate :)

I'm not sure Delete is good choice as it's used in the QuickCommands textbox. Shift+Delete may be?

Shift+Delete is definitely a better choice :)

My original thought was that the use of Del would be rare, most users would just use backspace. But you're absolutely right, best not to mess with the standard editing keys.

Wow, you're fast! :) Thanks so much, I just tested and it works 👍

One kind of minor problem when using the keyboard though, is that k/b focus is not returned to the page after closing QC again with F2. It also happens when using the close X button so I assume this was there earlier as well?

Is there some way to make the focus return to the page after exiting the QC?

Please check the latest version

Just updated, it seems to work now, awesome, thanks again mate 😄 🥇