Autolaunch Safari Webpage problems

Not applicable

Ok guys...call me crazy, insane in the membrane or...downright stupid, but, for some reason Safari will not launch an actual window when I have it configured as a login item. Safari will open, but no window until I click the icon. I have also tried using a loginhook that is basically open https://webpage.com/. Any ideas on what it might be? I'm gonna try switching my default browser and see if anything changes. Any help is appreciated.

2 REPLIES 2

npynenberg
Contributor

Use a script at login:

osascript -e 'tell application "Safari" to open location "https://yourwebsitehere.com"'

erowan
New Contributor III

I used to use a login script to do this, but it never worked reliably/consistently. Instead, I create a .webloc file (drag the URL address from Safari to your desktop), drop it in the Applications folder, then add the .webloc as a Login Item. If it matters, Safari is my default web browser.