#!/bin/sh # stealthfox - open URL in Firefox, revert focus # Why? browser.tabs.loadDivertedInBackground would prevent window # activation totally, but then the new tab doesn't get active. WIN=$(xdotool getactivewindow) firefox "$@" xdotool windowfocus $WIN