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

iOS 26

Everything New in iOS 26.2 Beta 3

Monday November 17, 2025 3:20 pm PST by
Apple provided developers with the third beta of an upcoming iOS 26.2 update, and there are still new features that are being added with each beta that we get. We've rounded up all of the changes that Apple made in beta 3. AirDrop Apple added new AirDrop functionality, providing a way for two people to share files temporarily without having to add one another as contacts. iOS 26.2...
applecare apple care banner

Apple Brings New AppleCare+ Options to India

Tuesday November 18, 2025 8:42 am PST by
Apple today announced an expansion of AppleCare+ coverage in India, with new options for monthly and annual plans, and the addition of Theft and Loss for iPhone for the first time. Options for monthly and annual AppleCare+ plans in India provide more choice and flexibility, allowing users to keep coverage for as long as they require. Apple's vice president of Worldwide iPhone Product...
iPhone 17 Pro Cosmic Orange

10 Reasons to Wait for Next Year's iPhone 18 Pro

Wednesday November 19, 2025 4:00 am PST by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models at the same time, which is why we often get rumored features months ahead of launch. The iPhone 18 series is no different, and we already have a good idea of what to expect for the iPhone 18 Pro and iPhone 18 Pro Max. One thing worth...
Apple Wallet ID Illinois

iPhone Driver's License Feature Launching in Illinois

Tuesday November 18, 2025 8:47 am PST by
In select U.S. states, residents can add their driver's license or state ID to the Wallet app on the iPhone and Apple Watch, providing a convenient and contactless way to display proof of identity or age at select airports and businesses, and in select apps. Starting this Wednesday, November 19, the feature will be available to residents of Illinois. The announcement confirmed that the...
iPhone 17 Pro and Air N1 Feature

iPhone 17 vs. iPhone 16 Wi-Fi Speeds: New Study Reveals the Winner

Tuesday November 18, 2025 10:53 am PST by
A new study has revealed that the iPhone 17, iPhone 17 Pro, iPhone 17 Pro Max, and iPhone Air achieve significantly faster average Wi-Fi speeds compared to the iPhone 16 series, thanks to Apple's custom-designed N1 chip. The study was conducted by Ookla, the company behind the popular Speedtest website and app. It said the results are based on global, crowdsourced Speedtest user data...
macbook black friday

The Best Early Black Friday Mac Deals

Tuesday November 18, 2025 7:32 am PST by
We're getting closer to Black Friday, which lands next week on Friday, November 28. In the lead-up to the shopping holiday, we're tracking a few lowest-ever prices on Apple's most popular Macs, including the M4 MacBook Air and brand new M5 MacBook Pro. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment,...
Magic Keyboard Touch ID Feature

Apple Releases New Firmware for 140W USB-C Power Adapter, Magic Keyboard and Magic Trackpad

Tuesday November 18, 2025 1:05 pm PST by
Apple today released updated firmware for several accessories, including the 140W USB-C Power Adapter, the Magic Trackpad 2, the Magic Trackpad USB-C, the Magic Keyboard with Touch ID, and the Magic Keyboard with Touch ID and Numeric Keypad. There is no word on what's included in the updated firmware at this time, but it could offer performance improvements and security updates. Accessory...
Apple Sports App Preview Feature

Apple Sports App on iPhone Now Available in More European Countries

Monday November 17, 2025 6:27 am PST by
The free Apple Sports app on the iPhone was released in additional European countries today, including Belgium, Croatia, Czechia, the Netherlands, Luxembourg, Poland, Hungary, Denmark, Finland, Norway, Sweden, Switzerland, Slovakia, Slovenia, Serbia, Greece, Estonia, Latvia, Romania, Ukraine, and others. The app was already available in the U.S., the U.K., Canada, Austria, France, Germany,...
best early black friday deals

Best Black Friday Apple Deals Live Now - Save on AirPods, iPads, and Apple Watches

Saturday November 15, 2025 1:45 pm PST by
We're officially in the month of Black Friday, which will take place on Friday, November 28 in 2025. As always, this will be the best time of the year to shop for great deals, including popular Apple products like AirPods, iPad, Apple Watch, and more. In this article, the majority of the discounts will be found on Amazon. Note: MacRumors is an affiliate partner with some of these vendors. When ...
ipad mini 7 feature red and blue

iPad Mini 8: Four Major New Features to Expect

Wednesday November 19, 2025 7:50 am PST by
Apple's eighth-generation iPad mini is highly likely to arrive next year, offering a significant refresh of the device with at least four major new features. OLED Display The next-generation version of the iPad mini could feature an OLED display, as part of Apple's plan to expand the display technology across many more of its devices. Apple's first OLED device was the Apple Watch in 2015, ...

Top Rated Comments

miniyou64 Avatar
49 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
49 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
49 months ago
The developer of Noir is gonna be ANNOYED.
Score: 8 Votes (Like | Disagree)
szw-mapple fan Avatar
49 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
49 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
49 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)