06.14.2023
In macOS Sonoma, currently in beta, you can create individual web apps for any website that you frequent in Safari, and have them sit beside other apps in your Dock.
In macOS Sonoma, any website viewed in Safari can be turned into a web app, thanks to a new "Add to Dock" option in the File menu. In other words, no work is required on the part of web developers to make a site web app compatible, although there are some elements of web apps that developers can have control over (see below).
How to Turn MacRumors into a Web App
- In macOS Sonoma developer beta, navigate to MacRumors.com in Safari.
- Choose File -> Add to Dock in the menu bar.
- If you want, you can change the MacRumors icon by clicking it in the Add to Dock window. You can also edit the web app's name using the title field – "MacRumors" is more succinct, for example.
- Click the blue Add button.
You will now see the MacRumors web app sitting in your Dock, ready for use independently of Safari. The web app works with Mission Control and Stage Manager just like any app, and can also be opened via Launchpad or Spotlight Search.
On opening the web app, you'll notice its window includes a simplified toolbar with navigation buttons (note: Website developers can control whether these are shown). As you can see in the image, the MacRumors theme color for the site blends into the toolbar for a more seamless look.
In terms of navigation, the scope of the web app is dictated by the host of the webpage – in this case www.macrumors.com – so you can navigate anywhere within the MacRumors website, but if you click a link outside of the host page, such as the MacRumors Forums, which is separately hosted at forums.macrumors.com, this will open the linked webpage in Safari. Therefore, if you are a frequenter of both the MacRumors website and the MacRumors Forums, you should create separate web apps for each.
Web developers have the ability to refine the scope of a web app to a specific path on their site if they wish. For example, MacRumors could theoretically provide a facility to make web apps dedicated to navigating only how-to articles or guides. This is something MacRumors may implement in the future.
Website Logins and Notifications
By default, Safari copies a website's cookies to its web app. So if you create a MacRumors Forums web app and you were logged into your account at the time, you will remain logged in inside the web app. Even if you weren't logged in, you can do so within the web app with minimal effort, since Apple has integrated support for Password and Passkey AutoFill.
If a website already supports web push notifications – as MacRumors does – and you have signed up to them, you will receive web app push notifications that display the corresponding MacRumors icon, giving you more context than a standard Safari notification and icon would.
The web app icon in the Dock will also show a badge when a notification is received. Web app notifications are silent by default, although developers can change them to play a sound. However, the end decision over sound and icon badges is left to the user in System Settings -> Notifications.
Web apps also respect Focus modes, so you can include or exclude them from allowed notifications based on what you're doing. Lastly, with privacy in mind, Apple has added options to control web apps' access to camera, microphone, and location in System Settings -> Privacy & Security, just like for native apps.
For those who wish to delve further into macOS Sonoma, it is currently available to download as a developer beta, although caution is warranted, as beta versions can be unstable and buggy. For those willing to wait, the official public release is expected to land in the fall.
Related Roundup: macOS Sonoma
This article, "Here's How Web Apps Work in macOS Sonoma" first appeared on MacRumors.com
Discuss this article in our forums
You may also be interested in this
Friday’s best deals: AirT…
06.02.2023
Heading into the weekend, all of today’s best deals are now going live, courtesy of our friends at 9to5toys. All headlined by one of the first discounts of the year
Apple Vision Pro and Mac …
06.09.2023
Apple Vision Pro has finally been announced, but there was so much more at WWDC — and it's all on the AppleInsider podcast.It seems as if the Vision Pro is
Apple releases firmware f…
05.02.2023
Macworld Apple has issued firmware updates for eight different devices today, and you can’t even really take care of it yourself. Multiple AirPods and Beats models are getting firmware updates,
Apple’s new high-yield Sa…
05.03.2023
Apple’s newly launched high yield Savings account brought in some $990 million in deposits over its first four days, Forbes reports this week citing “two sources familiar with the matter.”
DoorDash charges iPhone u…
05.19.2023
DoorDash charges iPhone users more than it charges Android users, at least according to a class-action lawsuit filed against the company. In the lawsuit, customers allege that DoorDash uses vague
Apple releases iOS 16.5 a…
05.18.2023
Apple has released iOS 16.5 and iPadOS 16.5 to the public, with the new updates now installable on iPhones and iPads.As WWDC 2023 and the introduction of iOS 17 looms,
Report: iOS 18 Generative…
06.05.2024
Apple is expected to offer its new AI features in iOS 18 and other Apple operating systems as an opt-in service, as a way of allowing users wary of the
Apple Maps Redesign Now R…
05.03.2023
The redesigned version of the Maps app that Apple has been rolling out worldwide since 2019 is now being tested in Taiwan, according to Apple Maps expert Justin O'Beirne. The

