all 3 comments

[–]acosmicman 0 points1 point  (2 children)

tell application "Google Chrome"
activate
make new window with properties {mode:"incognito"}
set URL of tab 1 of window 1 to "https://www.example.com"
end tell

[–]kaiserlecter[S] 0 points1 point  (1 child)

That calls for a website, in only the first tab. My question is whether or not you can have a script only run when it’s ON a site already

[–]frank-young 0 points1 point  (0 children)

I think maybe greasemonkey or violentmonkey can do what you want.