Home > Common Problem > Apple works on Safari dark mode switch to view specific websites

Apple works on Safari dark mode switch to view specific websites

WBOY
Release: 2023-04-15 15:49:03
forward
1330 people have browsed it

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.

Apple works on Safari dark mode switch to view specific websites
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!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template