rofi-chrome
rofi-chrome copied to clipboard
a browser extension for better tab navigation without injecting javascript code on every tab you open
rofi-chrome
rofi-chrome is a browser extension for better tab navigation without injecting javascript code on every tab you open.
Features
Switch between open tabs

Open tab from history

Search history from same domain

Go to last tab

Installation
First, make sure you have python2, rofi, and one of the supported browsers installed.
Then, clone the git repo:
git clone https://github.com/tcode2k16/rofi-chrome.git
Install native extension using the provided script:
cd rofi-chrome
./scripts/install.sh
Load the unpacked extension located at rofi-chrome/extension to the browser of your liking.
For example, if you are using chrome or chromium:
- Go to
chrome://extensions/in the browser and check the box for Developer mode in the top right. - Click the Load unpacked extension button and select the
rofi-chrome/extensionfolder to install it.
And if you are using firefox:
- Go to
about:debugging#/runtime/this-firefoxin the browser - Click the Load Temporary Add-on button and select the
rofi-chrome/extensionfolder to install it.
Configure the shortcuts for the various commands (chrome://extensions/shortcuts for chrome and chromium / Manage Extension Shortcuts in about:addons for firefox)
For your reference, I use:
alt+aforgo to last tabalt+hforopen tab from historyalt+aforpage-dependent searchalt+sforswitch to another tab
Now, you have the extension working. Yay!
Supported platforms
- Linux
- (more in the future)
Supported browsers
- google chrome
- chromium
- firefox
- (more in the future)
TODO
- [ ] support for other platforms
- [ ] support for other browsers
- [ ] migrate from python2 to python3