Apple works on Safari dark mode switch to view specific websites
Apple appears to be working on an upcoming Safari feature that will introduce dark mode user preferences for individual websites based on references found in the open source WebKit code.
WebKit is Apple's browser engine that powers all browsers on iOS, and the new option discovered by 9to5Mac is included in the WebKit code hosted on GitHub Called "Override the system color scheme with per-site preferences". For example, this should allow users to always view a specific website in dark mode, even if the system's light mode is enabled.
Since Apple introduced Dark Mode for iPhone and iPad in iOS 13, developers have updated their app interfaces to match system settings or allow users to override it. A new per-site preference in Safari extends this option to browsing websites and lets users correct sites that don't display correctly in light or dark mode.
In addition to per-website display settings, Apple is developing another option to block modal pop-ups on specific websites viewed in Safari. Modal popups must be closed by clicking Cancel or another button and look like system alerts. Apple is also developing a new API that will manage the cookie consent process used by many websites.
New WebKit features are marked as "pending" or to be announced, so it's unclear whether they will be available through future iOS 15 and macOS 12 updates or later in the year when new operating system versions are released. Used in Safari.
The above is the detailed content of Apple works on Safari dark mode switch to view specific websites. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Apple's iPhone 17 may usher in a major upgrade to cope with the impact of strong competitors such as Huawei and Xiaomi in China. According to the digital blogger @Digital Chat Station, the standard version of iPhone 17 is expected to be equipped with a high refresh rate screen for the first time, significantly improving the user experience. This move marks the fact that Apple has finally delegated high refresh rate technology to the standard version after five years. At present, the iPhone 16 is the only flagship phone with a 60Hz screen in the 6,000 yuan price range, and it seems a bit behind. Although the standard version of the iPhone 17 will have a high refresh rate screen, there are still differences compared to the Pro version, such as the bezel design still does not achieve the ultra-narrow bezel effect of the Pro version. What is more worth noting is that the iPhone 17 Pro series will adopt a brand new and more

The official download steps of the Sesame Open Exchange app cover the Android and iOS system download process, as well as common problems solutions, helping you download safely and quickly and enable convenient transactions of cryptocurrencies.

Problems and solutions encountered when compiling and installing Redis on Apple M1 chip Mac, many users may...

An application that converts XML directly to PDF cannot be found because they are two fundamentally different formats. XML is used to store data, while PDF is used to display documents. To complete the transformation, you can use programming languages and libraries such as Python and ReportLab to parse XML data and generate PDF documents.

This article provides a complete guide to Binance registration and security settings, covering pre-registration preparations (including equipment, email, mobile phone number and identity document preparation), and introduces two registration methods on the official website and APP, as well as different levels of identity verification (KYC) processes. In addition, the article also focuses on key security steps such as setting up a fund password, enabling two-factor verification (2FA, including Google Authenticator and SMS Verification), and setting up anti-phishing codes, helping users to register and use the Binance Binance platform for cryptocurrency transactions safely and conveniently. Please be sure to understand relevant laws and regulations and market risks before trading and invest with caution.

How to achieve the effect of small labels in the design draft on the mobile terminal? When designing mobile applications, it is common to find out how to accurately restore the small label effect in the design draft...

The OKX trading platform can be downloaded through mobile devices (Android and iOS) and computers (Windows and macOS). 1. Android users can download it from the official website or Google Play, and they need to pay attention to security settings. 2. iOS users can download it through the App Store or follow the official announcement to obtain other methods. 3. Computer users can download the client of the corresponding system from the official website. Always make sure to use official channels when downloading, and register, log in and security settings after installation.

This article introduces in detail two methods for downloading Binance APP on Apple iOS system and Android system mobile phones. For iOS systems, since the App Store in China cannot be downloaded directly, users need to use the Apple ID in the outer zone, and they can choose to borrow or register the Apple ID in the outer zone to download it. Android users can directly search and install it in the app store, or visit Binance's official website to scan the QR code to download the installation package. It should be noted that when downloading applications from unofficial channels, you may need to enable the application installation permissions of unknown sources on your phone. No matter which system you are, you can use the Binance APP after downloading.