tom.lant.uk

A Tale of Two Browsers

Two BrowsersTwo Browsers

I love Firefox, but I use Google Docs/Sheets/Drive professionally and its second-class support for Firefox is becoming a dealbreaker. As an easily frustrated but low stamina nerd I have made several attempts to work out a truce between these two browsers, always ending in exasperated defeat.

On 3rd February 2026 I steeled myself for one final attempt. Dear reader: I was successful.

The Goal

As a good and true FOSSman I must use Firefox as my daily driver. Chrome must do the duty for Google Docs/Sheets/Drive and no more. In order for this not to represent a constant trip hazard, the following requirements are non-negotiable:

  • If I open a link anywhere on my machine, it must open in the right browser
    • This includes opening a link from within one of the two browsers
  • The user experience across the two browsers must be as similar as possible
    • But I must always know at a glance which browser I’m in
  • Both browsers must use vertical tabs, because the only good tabs is a vertical tabs

Recipe for This Thing I’m Doing

Ingredients

One Apple Macintosh computer. Other computers might work; your mileage may vary.

For the Firefox you’ll need the following plugins:

I like to use Chrome Canary since it’s the only flavour of Chrome currently rocking the vertical tabs. But whichever Chrome you’re using you’ll also need the following plugins:

You’ll also need one copy of Velja, which can be picked up in the App Store for ~£8.

Method

  1. Install your browsers.
  2. Configure them to use vertical tabs, because you’re not made of monitor.
  3. Pay for and install Velja.
  4. Carefully install all of the plugins from the ingredients listed above.
  5. Firefox: configure Open In Chrome plugin thus:
    • Set the following extension settings:
      • Comma-separated list of domains to open with the external browser when the link is opened with left-click: docs.google.com, drive.google.com, sheets.google.com
      • Consider even top-level navigation: true
    • Plugin repair side-quest: it seems Open In Chrome has rotted a fair bit - to fix it simply:
      • Find its Extension Id from about:debugging#/runtime/this-firefox
      • Then add it to the allowed_extensions array in ~/Library/Application\ Support/Mozilla/NativeMessagingHosts/com.add0n.node.json
  6. Firefox: configure Firefox Color with the following theme:
  7. Chrome: configure Redirector plugin thus:
    • Rule:
      • from: ^(https?://(?!(?:[^/]+\.)?google\.com/).*)
      • to: velja:open?url=$1
  8. Chrome: set the following browser settings:
    • chrome://settings/performance
      • Disable Preload pages otherwise partial text in the address bar will get fired off to Firefox
    • Theme: Green (or anything other than blue)
  9. Chrome: follow these instructions (which yes, do involve manipulating the DOM of the plugin setting page 🤪) to make Chrome ctrl+tab switch between pages just like firefox does.
  10. Velja: add the following rule:
    • Name: Open Google Drive links in Chrome
    • Open in: Chrome Canary (or just your chosen flavour of Chrome)
    • Sample URL: https://drive.google.com/drive/search?q=values
    • Detect via: Domain...
    • Match: drive.google.com, docs.google.com, sheets.google.com,
    • (everything else is default/unchanged)
  11. Mac: open a terminal and set some defaults:
$ defaults write com.google.Chrome.canary URLAllowlist -array-add 'velja:*'
$ defaults write com.google.Chrome.canary ExternalProtocolDialogShowAlwaysOpenCheckbox -bool true
  1. A note about Tabliss: Your Chrome is now configured to direct any non-Google page render to Firefox. If your default search engine is not Google, any new tab you open will trigger this redirecting mayhem. Tabliss is one way to stop this - it uses your fresh tabs to show you a lovely picture of a mountain/cat/artful street scene isntead of rendering your search engine, sidestepping the whole issue.

And now pretty browsers are done!

A Final Note

I did try to craft a more symmetrical setup and use Redirector and Velja to replace Open In Chrome, but without success. Firefox would prompt for permission (for, say, docs.google.com to open a velja: link), but after granting permission it just sat ‘redirecting…’ forever.