Apple Working on Safari Dark Mode Toggle for Viewing Specific Websites

Apple appears to be working on an upcoming Safari feature that will introduce a Dark mode user preference for individual websites, based on references found in open-source WebKit code.

safari icon blue banner
WebKit is Apple's browser engine that powers all browsers on iOS, and the new option, spotted by 9to5Mac, is referred in the GitHub-hosted WebKit code as "overriding the system color-scheme with a per-website preference." This should, for example, let users always view a particular website in Dark mode, even if the system's Light mode is enabled.

Since Apple introduced Dark mode for iPhone and iPad with iOS 13, developers have updated their app interfaces to match the system setting or allow users to override it. The new per-website preference in Safari would extend this option to browsing sites, and also let users correct for sites that don't display properly in either Light or Dark modes.

In addition to the per-website display setting, Apple is developing another option to block modal popups on specific websites viewed in Safari. Modal popups must be dismissed by tapping a Cancel or other button, and can look like system alerts. Apple also has a new API in the works to manage the process of cookie consent that many websites use.

The new WebKit features are labelled as "TBA," or to be announced, so it's unclear whether they will become available to use in Safari via future iOS 15 and macOS 12 updates or later in the year when the new operating system versions are released.

Tags: Safari, WebKit

Popular Stories

Generic iOS 18

iOS 18.1 With Apple Intelligence: New Features, Release Date, and More

Thursday October 10, 2024 8:26 am PDT by
iOS 18.1 will be released to the public in the coming weeks, and the software update introduces the first Apple Intelligence features for the iPhone. Below, we outline when to expect iOS 18.1 to be released. iOS 18.1: Apple Intelligence Features Here are some of the key Apple Intelligence features in the iOS 18.1 beta so far: A few Siri enhancements, including improved understanding...
top stories 12oct2024

Top Stories: iOS 18.1 Release Date, New Macs Incoming, and More

Saturday October 12, 2024 6:00 am PDT by
Things are firming up for a big Halloween week for Apple, with the company's next operating system updates reportedly coming early in the week and hardware launches coming a few days later. Ahead of those hardware launches, we've recently seen what appears to be one of the most significant physical product leaks in years, while some of the new features in Apple's recent software updates have ...
16 pro

iPhone 17 Pro Models Rumored to Introduce These 5 New Features

Friday October 11, 2024 8:55 am PDT by
While the iPhone 16 series was released just a few weeks ago, there are already many rumored features for the iPhone 17 models, and especially for the Pro models. Below, we recap five key new features rumored for the iPhone 17 Pro and Pro Max so far: 24MP front camera for all iPhone 17 models: All four iPhone 17 models will feature an upgraded 24-megapixel front-facing camera, according...
maxresdefault

The MacRumors Show: Apple's Shocking M4 MacBook Pro Leak

Friday October 11, 2024 8:27 am PDT by
On this week's episode of The MacRumors Show, we discuss the unprecedented leak of Apple's M4 MacBook Pro models and the company's rumored move to more staggered hardware and software releases. Subscribe to The MacRumors Show YouTube channel for more videos Multiple leaks surrounding Apple's unannounced 14-inch MacBook Pro with the M4 chip recently surfaced online. The leaks began with unboxin...
ios 18 1 make primary

iOS 18.1 Includes Option to Set 'Primary' Email Address and Change iCloud Email

Friday October 11, 2024 3:55 pm PDT by
In iOS 18.1, there is a new option to set a "Primary" email address in the Settings app, which means it is easier to change the main email address associated with your Apple Account. The Primary email address is the one that is visible to other people when collaborating on and sharing documents, sending calendar invites, and more. Apple did not previously make it easy to change an Apple...
Generic iOS 18 Feature Real Mock

Apple Stops Signing iOS 18.0

Thursday October 10, 2024 12:10 pm PDT by
Apple today stopped signing iOS 18.0, preventing iPhone users who have upgraded to iOS 18.0.1 from downgrading to iOS 18. Apple released iOS 18.0.1 a week ago on October 3. It is not unusual for Apple to stop signing older versions of iOS within a week or two after a new version of iOS is released. When Apple stops signing an update, it can no longer be installed on an iPhone due to a...
iPad mini review thumb

iPad Mini 7 Coming Next Month: What to Expect

Tuesday October 8, 2024 6:16 am PDT by
Rumors strongly suggest Apple will release the seventh-generation iPad mini in November, nearly three years after the last refresh. Here's a roundup of what we're expecting from the next version of Apple's small form factor tablet, based on the latest rumors and reports. Design and Display The new iPad mini is likely to retain its compact 8.3-inch display and overall design introduced with...
When Will Apple Launch More M4 Macs Feature

Will Apple Release M4 Macs Soon? Here's What the Latest Rumors Say

Thursday October 10, 2024 6:22 am PDT by
Apple often releases new Macs in the fall, but we are still waiting for official confirmation that the company has similar plans this year. We're approaching the middle of October now, and if Apple plans to announce new Macs before the holidays, recent history suggests it will happen this month. Here's what we know so far. As of writing this, it's been 220 days since Apple released a new...

Top Rated Comments

miniyou64 Avatar
34 months ago
Apple’s own Developer Portal doesn’t render correctly in their own browser, Safari, making it impossible to accept Developer agreements. You have to use Chrome or Firefox, and the Safari Team lead woman has the stones to get offended that people think Safari is bad. ?
Score: 17 Votes (Like | Disagree)
GraXXoR Avatar
34 months ago

Safari is the IE of the Mac. The browser you use to get the one you really want.
Nope.
That's a sort of glib-slash-edgy soundbite comment trying to riff off the old Internet Explorer meme, but not actually true in this case.

I repair macs here in Japan and the very vast majority don't have chrome installed, or if they do it's some ancient version that hasn't been used/updated in years. Most laypeople seem satisfied with Safari.
Score: 10 Votes (Like | Disagree)
OS X Dude Avatar
34 months ago
The developer of Noir is gonna be ANNOYED.
Score: 8 Votes (Like | Disagree)
szw-mapple fan Avatar
34 months ago

Safari is the IE of the Mac. The browser you use to get the one you really want.
Debatable. I much more prefer Safari over Chrome's UI and since Apple changed how they distributed extensions a couple of years ago all of the extensions I need are available.
Score: 8 Votes (Like | Disagree)
singularity0993 Avatar
34 months ago
As an app and web developer I completely agree that “Safari is the new IE”. Every web app we make must be specifically optimized for Safari because they simply don’t follow web standards. They also lack features without good reason, e.g. webkit animation is locked at 60fps, even if you have a 120hz display. Regex expressions lookbehind, which was standardized in 2018, still doesn’t work. And Safari is the only browser lagging behind. Just look at how many StackOverflow questions there are asking why xxx works on Chrome & Firefox but not Safari. If it weren’t for the iOS ecosystem we would have dropped Safari support already.

If Safari wasn’t preinstalled on Apple systems, I assume the majority of users would choose Chromium based browsers or Firefox instead. If this assumption turns out to be true, then Safari is undoubtedly the new IE.
Score: 7 Votes (Like | Disagree)
andrewxgx Avatar
34 months ago
can you do a global switch please? i would very much like to have all websites in light mode when OS is in dark mode.
Score: 5 Votes (Like | Disagree)