Disable Invasive Safari Popups

I finally updated to Yosemite. One of the more annoying features is a persistent notification to ‘Try Safari’ which can not be dismissed, the only options being to Try Safari or receive the notification later. This notification generally appears when opening Chrome or Firefox when Safari is not the default browser.

I could not disable this advertisement in the Notifications Center.

I don’t want to try Safari. I like using Chrome, and sometimes Firefox. I also build a product where most of the traction is a Chrome extension (morse.io), which is a pretty good reason to continue not using Safari.

It turns out I’m not alone. Thankfully Aeyoun already has a solution on StackOverflow here and his blog, which involves running the following three lines on terminal:

defaults write com.apple.coreservices.uiagent CSUIHasSafariBeenLaunched -bool YES
defaults write com.apple.coreservices.uiagent CSUIRecommendSafariNextNotificationDate -date 2050-01-01T00:00:00Z
defaults write com.apple.coreservices.uiagent CSUILastOSVersionWhereSafariRecommendationWasMade -float 10.99

I’ll skip over the implications of invasive ad notificatons which can’t be disabled without programming knowledge.

Not cool, Apple. Really not cool.