Apple Working on Safari Dark Mode Toggle for Viewing Specific Websites - MacRumors
Skip to Content

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

safari iphone duo webkit

Apple Wants to Fix Safari's Cramped Layout on iPhone Duo

Saturday October 24, 2026 9:58 pm PDT by
Apple is considering changes to Safari on the iPhone Duo that would give websites access to more of the outer display, although the company has yet to settle on an approach. The challenge is allowing pages to occupy the area beneath Safari's side-mounted controls without making parts of a website inaccessible. In an Friday, October 23 WebKit post, Apple's Jen Simmons explained that an...
Switch to Safari

Apple Addresses Web Security Threat, Working on macOS Update With Additional Fix

Sunday October 25, 2026 4:07 pm PDT by
Earlier this month, a security researcher discovered that private cryptographic keys associated with eight of Indian company eMudhra's intermediate certificate authority (CA) certificates were weak. The compromised keys could have allowed attackers to impersonate legitimate websites, potentially putting users' sensitive information at risk. However, there is currently no evidence that the keys...
apple pro tell logo

Apple Launches Two Products Today

Friday November 13, 2026 2:37 am PST by
Apple is releasing two new products today, Friday, November 13: the all-new Apple HomeView and the fourth-generation Apple TV 4K, both of which have been available to pre-order since mid-October. Apple HomeView: Apple's new smart home display, powered by Apple Intelligence with Siri AI, for entertainment and managing the home. Available in tabletop and wall-mounted models, it can recognize up...

Top Rated Comments

miniyou64 Avatar
62 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
62 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)
szw-mapple fan Avatar
62 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)
OS X Dude Avatar
62 months ago
The developer of Noir is gonna be ANNOYED.
Score: 8 Votes (Like | Disagree)
62 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)
62 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)
Latest Stories
Apple News+ Puzzles Come to UK, Australia, and French Canada
Apple News+ Puzzles Come to UK, Australia, and French Canada
39 minutes ago
macOS Golden Gate 27.3 Beta 2 Now Available for Developers
macOS Golden Gate 27.3 Beta 2 Now Available for Developers
44 minutes ago
Apple Celebrates Pokémon With iPhone Wallpapers and Special Gift Card
Apple Celebrates Pokémon With iPhone Wallpapers and Special Gift Card
48 minutes ago
Apple TV App Gets Video Podcasts in iOS 27.3
Apple TV App Gets Video Podcasts in iOS 27.3
1 hour ago
Best Early AirPods Black Friday Deals Include AirPods Pro 3 for $179
Best Early AirPods Black Friday Deals Include AirPods Pro 3 for $179
2 hours ago
iOS 27.3 Adds 'Ask About Page' Siri AI Feature to Safari
iOS 27.3 Adds 'Ask About Page' Siri AI Feature to Safari
2 hours ago
Apple Says More Than 200,000 Apps Now Optimized for iPhone Duo
Apple Says More Than 200,000 Apps Now Optimized for iPhone Duo
2 hours ago
Apple Adds Facial Unlock Option on iPhone Duo in iOS 27.3
Apple Adds Facial Unlock Option on iPhone Duo in iOS 27.3
2 hours ago
iOS 27.3 Beta Adds Daily Siri AI Limits and iCloud+ Upgrades
iOS 27.3 Beta Adds Daily Siri AI Limits and iCloud+ Upgrades
2 hours ago
iOS 27.3 Beta 2 Now Available for Developers
iOS 27.3 Beta 2 Now Available for Developers
2 hours ago
Apple Launches Spanish Version of Its U.S. Website
Apple Launches Spanish Version of Its U.S. Website
2 hours ago
Apple Releases Second watchOS 27.3, tvOS 27.3 and visionOS 27.3 Betas
Apple Releases Second watchOS 27.3, tvOS 27.3 and visionOS 27.3 Betas
2 hours ago
Some OLED MacBook Pro Owners Report Eye Strain and Dizziness
Some OLED MacBook Pro Owners Report Eye Strain and Dizziness
2 hours ago
Didn't Order Apple's HomeView Yet? Wait Times Are Significant Now
Didn't Order Apple's HomeView Yet? Wait Times Are Significant Now
3 hours ago
Apple Pushes Back Against Canada's Plan to Access User Data
Apple Pushes Back Against Canada's Plan to Access User Data
3 hours ago
Black Friday TV Deals Include Year's Best Prices on Samsung, Sony, LG, and Many More
Black Friday TV Deals Include Year's Best Prices on Samsung, Sony, LG, and Many More
4 hours ago
Adobe's Black Friday Sale Takes 57% Off Creative Cloud Pro for Your First Year
Adobe's Black Friday Sale Takes 57% Off Creative Cloud Pro for Your First Year
5 hours ago
Apple's New HomeView Smart Home Hub Has Issues, Say Owners
Apple's New HomeView Smart Home Hub Has Issues, Say Owners
5 hours ago
'Slow Horses' to Hit 10-Season Milestone With Apple TV Renewal
'Slow Horses' to Hit 10-Season Milestone With Apple TV Renewal
6 hours ago
Apple Watch SE 3 Black Friday Deals Arrive With $50 Off Every Model
Apple Watch SE 3 Black Friday Deals Arrive With $50 Off Every Model
6 hours ago
Apple Confirms iOS 27.3 Beta 2 Coming Today
Apple Confirms iOS 27.3 Beta 2 Coming Today
6 hours ago
'iPhone 20 Pro' Rumored to Be Based on iPhone Air
'iPhone 20 Pro' Rumored to Be Based on iPhone Air
6 hours ago
iPhone 20 Pro Rumored to Feature New 17nm Camera Sensor
iPhone 20 Pro Rumored to Feature New 17nm Camera Sensor
8 hours ago
New Apple TV 4K's A19 Chip Has One Core Switched Off
New Apple TV 4K's A19 Chip Has One Core Switched Off
8 hours ago
Apple Seeks 200,000 People for AI Health Study
Apple Seeks 200,000 People for AI Health Study
9 hours ago
Apple TV App to Get Video Podcasts Section Today
Apple TV App to Get Video Podcasts Section Today
9 hours ago
Early Apple Watch Black Friday Deals Arrive With Series 12 Hitting New Record Lows
Early Apple Watch Black Friday Deals Arrive With Series 12 Hitting New Record Lows
1 day ago
Apple's Smart Glasses Strategy Hinges on Siri and iPhone Apps
Apple's Smart Glasses Strategy Hinges on Siri and iPhone Apps
1 day ago
AirPods Pro 3 Discounted to $179.99 in Early Black Friday Sale
AirPods Pro 3 Discounted to $179.99 in Early Black Friday Sale
1 day ago
Apple Aiming to Upgrade the iPhone Duo in Four Ways
Apple Aiming to Upgrade the iPhone Duo in Four Ways
1 day ago