You need to specify your OS & window manager combo.
According to [`webbrowser`](https://docs.python.org/3/library/webbrowser.html#webbrowser.open) doc, there's an `autoraise` option (defaults to `True`) we may use, which may or may not take effect:
> If `autoraise` is `True`, the window is raised if possible (note that under many window managers this will occur regardless of the setting of this variable).
You can try to patch the `browser.open` line to see if it works on your OS & window manager:
```diff
diff --git a/googler b/googler
index 01cf0be..d58ff9a 100755
--- a/googler
+++ b/googler
@@ -1348,7 +1348,7 @@ def open_url(url):
os.dup2(fd, 2)
os.dup2(fd, 1)
try:
- browser.open(url, new=2)
+ browser.open(url, new=2, autoraise=False)
finally:
if open_url.suppress_browser_output:
os.close(fd)
```
(It doesn't work here on macOS, for instance.)
If it does work, we can consider this a feature request and figure out a way to give you an option.