There may have been a time when Google Chrome was compliant with AppleScript commands e.g.
launch, which would keep it in the background, as it does with e.g. Safari and other applications. Or compliant with with the shell
open command using either the
-j options along with the
In testing under macOS Catalina I could not get Google Chrome to consistently open in the background and only with the
open command with
-jga would it open in the background a few different times, but not at all consistently.
Google clearly is not conforming to the macOS norms!
That said, the only way I could consistently open a URL in Google Chrome in the background was is if it was already running with an open window in the background.
I'll post the example AppleScript code just for you to test if it works for you as it did for me.
set myURL to "https://www.example.com"
if running of application "Google Chrome" then
tell application "Google Chrome"
if window 1 exists then
tell window 1
make new tab
repeat while (loading of active tab)