This script allow to use rofi to switch between tabs for browsers implementing the Chrome Debugging Protocol. It's a fork and lighter rewrite of the original repo, and credits should go to its author. Firefox-based browsers are not supported as of v105.0 (but support will be implemented).
- wget
- jq
- Copy
switch-browser-tabs
to a location which is in your path - Run your browser with the option
--remote-debugging-port=9222
- Invoke rofi with
rofi -modi 'switch-tabs:switch-browser-tabs' -show switch-tabs