# Safari（网页浏览器）

**Safari** 是由苹果公司（Apple）开发的网页浏览器，2003 年 1 月 7 日在旧金山（San Francisco）的 Macworld 博览会上首次亮相，是面向 Mac OS X 的浏览器<sup>[1](https://www.apple.com/newsroom/2003/01/07Apple-Unveils-Safari/)</sup>。它是 macOS、iPhone 和 iPad 上的默认浏览器，运行于 WebKit 之上——这是一个开源浏览器引擎，由苹果维护，苹果平台上的“邮件”（Mail）、App Store 及其他应用也由它驱动<sup>[2](https://docs.webkit.org/Getting%20Started/Introduction.html)</sup>。Safari 是[谷歌 Chrome](https://www.edgepedia.org/zh/google-chrome)（Google Chrome）、Mozilla Firefox 和微软 Edge（Microsoft Edge）的主要竞争对手之一<sup>[3](https://www.mozilla.org/en-US/firefox/browsers/browser-history/)</sup>。

| 关键事实 | 详情 |
|---|---|
| 首次发布 | 2003 年 1 月 7 日推出公开测试版；要求 Mac OS X 10.2“Jaguar”，下载体积 3 MB，占用磁盘空间 7.1 MB<sup>[1](https://www.apple.com/newsroom/2003/01/07Apple-Unveils-Safari/)</sup> |
| Safari 1.0 | 2003 年 6 月 23 日发布<sup>[4](https://www.apple.com/newsroom/archive/?page=224)</sup> |
| 引擎 | WebKit，一个主要以 C++ 编写的开源浏览器引擎；苹果于 2005 年 6 月将 WebKit 整体开源<sup>[2](https://docs.webkit.org/Getting%20Started/Introduction.html)</sup><sup> • </sup><sup>[5](https://catalogimages.wiley.com/images/db/pdf/9781119999133.excerpt.pdf)</sup> |
| 跟踪防护 | 智能跟踪预防（Intelligent Tracking Prevention，ITP）于 2017 年 10 月推出，通过限制 Cookie 和网站数据来减少跨站跟踪<sup>[6](https://arxiv.org/abs/2001.07421)</sup><sup> • </sup><sup>[7](https://webkit.org/blog/7675/intelligent-tracking-prevention/)</sup> |
| iOS 引擎规定 | 在大多数国家，所有 iOS 浏览器都必须使用 WebKit；在欧盟，自 iOS 17.4（2024 年）起，苹果依据《数字市场法》（Digital Markets Act）允许使用替代浏览器引擎<sup>[8](https://developer.apple.com/support/apps-in-the-eu)</sup><sup> • </sup><sup>[9](https://www.windowscentral.com/software-apps/perplexity-made-a-sky-high-34-5-billion-bid-for-google-chrome)</sup> |
| 市场地位 | 2024 年，Safari 在英国 iOS 移动浏览器中占 88%；StatCounter 数据显示其全球浏览器份额接近 16%，落后于 Chrome 的 69%<sup>[10](https://assets.publishing.service.gov.uk/media/67d1abd1a005e6f9841a1d94/Final_decision_report1.pdf)</sup><sup> • </sup><sup>[11](https://www.techradar.com/computing/browsers/underdog-this-is-why-struggling-browser-firefox-and-ryan-reynolds-wrexham-football-club-are-now-joined-at-the-kit)</sup> |

## 起源与早期版本

苹果于 2003 年 1 月 7 日在 Macworld 博览会上将 Safari 作为公开测试版推出，称其为“为 Mac 打造的最快的浏览器”。该测试版可免费下载，要求 Mac OS X 10.2“Jaguar”版本，并针对 Mac OS X v10.2.3 优化；正式版本计划于 2003 年晚些时候推出<sup>[1](https://www.apple.com/newsroom/2003/01/07Apple-Unveils-Safari/)</sup>。[史蒂夫·乔布斯](https://www.edgepedia.org/zh/steve-jobs)（Steve Jobs）称其为“多年来第一个全新打造的浏览器”<sup>[1](https://www.apple.com/newsroom/2003/01/07Apple-Unveils-Safari/)</sup>。Safari 1.0 于 2003 年 6 月 23 日发布<sup>[4](https://www.apple.com/newsroom/archive/?page=224)</sup>。

这款浏览器构建于 WebKit 之上，WebKit 最初是苹果对 KDE 的 Konqueror 项目中 KHTML 和 KJS 库的分支；WebKit 的 [JavaScript](https://www.edgepedia.org/zh/javascript) 引擎 JavaScriptCore 即源自 KDE 的 KJS 库<sup>[12](https://www.christophkerschbaumer.com/files/phd_thesis_christoph_kerschbaumer.pdf)</sup>。苹果先是将 WebCore 和 JavaScriptCore 开源，2005 年 6 月又将 WebKit 整体开源<sup>[5](https://catalogimages.wiley.com/images/db/pdf/9781119999133.excerpt.pdf)</sup>。作为 Safari 的一部分，WebKit 因成为首个支持若干 CSS3 属性的浏览器而在网络社区中受到关注<sup>[5](https://catalogimages.wiley.com/images/db/pdf/9781119999133.excerpt.pdf)</sup>。WebKit 的代码库以 C++ 为主，少量 C 和汇编代码主要位于 JavaScriptCore 中，另有部分 Objective-C 用于与 Cocoa 集成<sup>[2](https://docs.webkit.org/Getting%20Started/Introduction.html)</sup>。

**Windows 版本。** 2007 年 6 月 11 日，苹果推出 Safari 3 公开测试版，支持 [Windows XP](https://www.edgepedia.org/zh/windows-xp)、Vista 以及 Mac，并声称在 iBench 基准测试中，其页面渲染速度最高可达 [Internet Explorer](https://www.edgepedia.org/zh/internet-explorer) 7 的两倍、Firefox 2 的 1.6 倍。Windows 版本带来了 SnapBack、可调整大小的文本输入框以及无痕浏览等功能<sup>[13](https://www.apple.com/uk/newsroom/2007/06/11Apple-Introduces-Safari-for-Windows/)</sup>。

## WebKit 与 iOS 引擎规定

浏览器引擎将网页源代码转换为人眼所见的页面，并决定浏览器的网页兼容性、性能和可靠性<sup>[14](https://assets.publishing.service.gov.uk/media/61b86737e90e07043c35f5be/Appendix_F_-_Understanding_the_role_of_browser_engines.pdf)</sup>。苹果一直要求欧盟以外地区的 iOS 和 iPadOS 网页浏览应用使用其 WebKit 引擎，但在欧盟允许使用替代浏览器引擎；英国竞争与市场管理局（Competition and Markets Authority，CMA）认为，这限制了竞争浏览器与 Safari 拉开差异的空间，也制约了 iOS 上对网络应用的支持<sup>[14](https://assets.publishing.service.gov.uk/media/61b86737e90e07043c35f5be/Appendix_F_-_Understanding_the_role_of_browser_engines.pdf)</sup><sup> • </sup><sup>[37](https://developer.apple.com/app-store/review/guidelines/)</sup>。CMA 的最终决定报告指出，2024 年 Safari 占英国 iOS 移动浏览器的 88%，而 Chrome 在 Android 上占 77%<sup>[10](https://assets.publishing.service.gov.uk/media/67d1abd1a005e6f9841a1d94/Final_decision_report1.pdf)</sup>。

**《数字市场法》带来的变化。** 为遵守欧盟《数字市场法》，苹果自 2024 年起在欧盟更新了 iOS、iPadOS、Safari 和 App Store。欧盟用户在 iOS 17.4 或更高版本上首次打开 Safari 时，会收到提示，要求其从当地市场主要浏览器列表中选择默认浏览器；iOS 和 iPadOS 还提供相应能力，允许获得授权的开发者在专用浏览器应用和应用内浏览中使用 WebKit 以外的浏览器引擎<sup>[8](https://developer.apple.com/support/apps-in-the-eu)</sup>。苹果为此发布了 BrowserEngineKit 框架；开发者必须申请授权，采取加固进程分配等安全缓解措施，并达到功能基线，包括在[苹果芯片](https://www.edgepedia.org/zh/apple-silicon)上通过 90% 的 Web 平台测试（Web Platform Tests）和 80% 的 Test262<sup>[15](https://developer.apple.com/documentation/browserenginekit)</sup><sup> • </sup><sup>[16](https://developer.apple.com/it/support/alternative-browser-engines/)</sup>。苹果还表示，计划允许欧盟用户在 iOS 上彻底删除 Safari<sup>[17](https://www.apple.com/legal/dma/dma-ncs.pdf)</sup>。日本此后也要求对替代引擎作出同样的开放<sup>[9](https://www.windowscentral.com/software-apps/perplexity-made-a-sky-high-34-5-billion-bid-for-google-chrome)</sup>。

## 隐私与跟踪预防

从 2003 年的 Safari 1.0 至今，WebKit 已实现了多项跟踪预防技术，其中大多数默认开启<sup>[19](https://webkit.org/tracking-prevention/)</sup>。核心是智能跟踪预防（ITP），这是 WebKit 的一项功能，通过限制 Cookie 和其他网站数据来减少跨站跟踪，于 2017 年 10 月推出<sup>[6](https://arxiv.org/abs/2001.07421)</sup><sup> • </sup><sup>[7](https://webkit.org/blog/7675/intelligent-tracking-prevention/)</sup>。2.3 版随 iOS 13 和 iPadOS 上的 Safari 以及 macOS 上的 Safari 13 一同发布<sup>[20](https://webkit.org/blog/9521/intelligent-tracking-prevention-2-3/)</sup>；自 iOS 14 和 macOS [Big Sur](https://www.edgepedia.org/zh/macos-big-sur) 起，ITP 在所有 WKWebView 应用中默认启用，而不限于 Safari 本身<sup>[21](https://webkit.org/blog/10882/app-bound-domains/)</sup>。WebKit 还设计了一套保护隐私的广告点击归因机制，其立场是跨站广告点击归因侵犯隐私，应在 Safari 中加以阻止<sup>[22](https://webkit.org/blog/8943/privacy-preserving-ad-click-attribution-for-the-web/)</sup>。

**无痕浏览。** Safari 的无痕浏览模式建立在临时会话之上：Cookie 和其他有状态数据不会被持久保存，用户关闭标签页、退出浏览器或重启后即消失；每个无痕标签页都会获得一个新的临时会话，从而相互隔离<sup>[19](https://webkit.org/tracking-prevention/)</sup>。在无痕窗口中，一个标签页中的浏览与其他标签页相互隔离，访问过的页面和自动填充（AutoFill）信息不会被保存，打开的页面不会存入 iCloud，Cookie 和网站数据的更改也不会保留<sup>[23](https://support.apple.com/en-gb/guide/safari/ibrw1069/mac)</sup>。在 iOS 17、iPadOS 17 和 macOS 14 或更高版本上，Safari 会在一段时间无操作后锁定无痕浏览标签页，需输入密码、设备密码或使用 [Face ID](https://www.edgepedia.org/zh/face-id)、[Touch ID](https://www.edgepedia.org/zh/touch-id) 才能重新打开<sup>[24](https://support.apple.com/guide/personal-safety/keep-your-browsing-history-private-ips375e6d608/1.0/web/1.0)</sup>。

**已知缺陷。** 谷歌的一次安全审查发现了 Safari 的 ITP 设计中的多个安全与隐私问题，并以 WebKit 缺陷 #201319 报告给苹果，表明侧信道可能通过该机制泄露信息<sup>[6](https://arxiv.org/abs/2001.07421)</sup>。更近一些，安全研究人员塔拉勒·哈吉·巴克里（Talal Haj Bakry）和汤米·米斯克（Tommy Mysk）发现 WebKit 的三项功能——包括 DNS 预取、WebAuthn 相关源请求（WebAuthn Related Origin Requests）和 WebTransport——会绕过代理配置，直接从设备发送流量，从而泄露 iCloud 私密代理（iCloud Private Relay）用户的真实 IP 地址；iCloud 私密代理是 iCloud+ 的一项功能，用于隐藏用户 IP 地址并加密 Safari 网页流量。由于苹果通常要求 iOS 和 iPadOS 上的网页浏览应用使用 WebKit（欧盟以及日本 iOS 上存在替代引擎例外，而 macOS 不受上述引擎限制），该缺陷也影响了其他浏览器；Tor 和 Psylo 等部分浏览器已发布修复，而截至报道时苹果尚未确认已修复该缺陷<sup>[25](https://www.techradar.com/pro/security/apples-private-relay-tool-can-leak-users-ip-addresses-with-onionbrowser-also-affected)</sup><sup> • </sup><sup>[37](https://developer.apple.com/app-store/review/guidelines/)</sup>。

## 功能

**配置与标签页整理。** Mac 上的 Safari 支持浏览配置（如“工作”或“个人”），每个配置各有自己的书签、历史记录和标签页组（Tab Groups）；自动填充、密码、安全、网站和隐私设置在各配置间共享，扩展对所有配置可用，但分别管理。使用 Safari 17 或更高版本并登录同一 Apple 账户的设备之间，配置会自动同步<sup>[26](https://support.apple.com/en-ie/105100)</sup>。Safari 还能将标签页整理为相关主题，包括借助 [Apple Intelligence](https://www.edgepedia.org/zh/apple-intelligence) 实现<sup>[27](https://support.apple.com/en-ie/guide/safari/ibrwa2d73908/mac)</sup>。

**扩展。** Safari 扩展通过 App Store 分发，苹果会在其中审核所有扩展及更新；为其他浏览器编写的网页扩展可通过命令行转换工具转换为 Xcode 项目，供苹果平台上的 Safari 使用<sup>[28](https://developer.apple.com/safari/extensions/)</sup>。内容拦截扩展以应用扩展的形式构建，专为速度而设计；由于它们从不知晓用户访问哪些网页，用户数据得以保护<sup>[28](https://developer.apple.com/safari/extensions/)</sup>。

**同步。** 借助 Safari 的 iCloud 功能，书签、历史记录、标签页组、配置、设置和扩展状态可在用户的 iPhone、iPad 和 Mac 之间保持同步更新<sup>[29](https://support.apple.com/en-gb/guide/icloud/mm9b8da4f328/icloud)</sup>。

## 市场地位与监管

根据 2025 年引用的 StatCounter 数据，Safari 是全球第二大浏览器，份额接近 16%，而 Chrome 为 69%<sup>[11](https://www.techradar.com/computing/browsers/underdog-this-is-why-struggling-browser-firefox-and-ryan-reynolds-wrexham-football-club-are-now-joined-at-the-kit)</sup>。它在苹果设备上的地位最为稳固：CMA 发现，2024 年 Safari 在英国 iOS 移动浏览器中的份额稳定在 88%，并指出与竞争性移动浏览器相比，Safari 能更多或更早地使用操作系统和 WebKit 的关键功能<sup>[10](https://assets.publishing.service.gov.uk/media/67d1abd1a005e6f9841a1d94/Final_decision_report1.pdf)</sup>。苹果向 CMA 提交的答复称，在更换过浏览器的 iOS 用户中，89% 认为更换非常容易或比较容易<sup>[30](https://assets.publishing.service.gov.uk/media/66d6c524c52d5fb4c82ddd65/2024-08-01_Apple_Response_to_Working_Papers_1_to_5_-_TO_BE_PUBLISHED.pdf)</sup>。

监管机构将 Safari 和 WebKit 一并视为竞争关切。CMA 的最终决定报告考察了苹果在其移动浏览器 Safari 和移动浏览器引擎 WebKit 的替代品面前所面临的竞争程度，并认定移动浏览器、浏览器引擎和应用内浏览技术等市场的特征限制了竞争<sup>[10](https://assets.publishing.service.gov.uk/media/67d1abd1a005e6f9841a1d94/Final_decision_report1.pdf)</sup><sup> • </sup><sup>[31](https://assets.publishing.service.gov.uk/media/68fb86f430c331c88be6f0cb/Final_decision_report.pdf)</sup>。Mozilla 的 [Gecko](https://www.edgepedia.org/zh/gecko-software) 引擎是与 WebKit 和谷歌 Blink 并列的现存三大引擎之一；Mozilla 一直向政策制定者主张，引擎层面的竞争需要独立的浏览器引擎<sup>[32](https://blog.mozilla.org/netpolicy/2026/03/23/competition-innovation-and-the-future-of-the-web/)</sup>。

## 持续开发

Safari 仍按与苹果操作系统绑定的年度周期发布，并提供 Safari 技术预览版（Safari Technology Preview）用于测试即将推出的网络技术<sup>[33](https://webkit.org/)</sup>。WebKit 团队于 2026 年 9 月公布的 Safari 27.0 版本将新功能数量从首个测试版的 58 项增加到 80 项，包括 66 项 SVG 修复、对媒体源扩展（Media Source Extensions）和加密媒体扩展（Encrypted Media Extensions）的工作，以及对顶层 `await` 的完整规范符合性<sup>[34](https://webkit.org/blog/18325/webkit-features-for-safari-27-0/)</sup>。安全修复单独且频繁发布；苹果的平台安全文档指出，轻量级安全版本会在软件更新之间为 Safari 浏览器和 WebKit 框架栈等组件提供持续补丁<sup>[35](https://help.apple.com/pdf/security/en_US/apple-platform-security-guide.pdf)</sup>。2026 年 5 月 13 日发布的 Safari 26.5 修复了 WebKit 的验证问题，其中包括一个可能导致[内容安全策略](https://www.edgepedia.org/zh/content-security-policy)（Content Security Policy）无法执行的问题<sup>[36](https://support.apple.com/en-us/127121)</sup>。

## References

1. [Apple Unveils Safari, Apple Newsroom (January 7, 2003)](https://www.apple.com/newsroom/2003/01/07Apple-Unveils-Safari/)
2. [Introduction to WebKit, WebKit Documentation](https://docs.webkit.org/Getting%20Started/Introduction.html)
3. [Browser History: Epic power struggles that brought us modern browsers, Mozilla](https://www.mozilla.org/en-US/firefox/browsers/browser-history/)
4. [Apple Newsroom Archive, All Topics](https://www.apple.com/newsroom/archive/?page=224)
5. [Safari and WebKit history excerpt, Wiley](https://catalogimages.wiley.com/images/db/pdf/9781119999133.excerpt.pdf)
6. [Information Leaks via Safari's Intelligent Tracking Prevention, arXiv](https://arxiv.org/abs/2001.07421)
7. [Intelligent Tracking Prevention, WebKit](https://webkit.org/blog/7675/intelligent-tracking-prevention/)
8. [Changes for apps in the European Union, Apple Developer](https://developer.apple.com/support/apps-in-the-eu)
9. [Perplexity made a $34.5 billion bid for Google Chrome, Windows Central](https://www.windowscentral.com/software-apps/perplexity-made-a-sky-high-34-5-billion-bid-for-google-chrome)
10. [Mobile Ecosystems Final Decision Report, Competition and Markets Authority (UK)](https://assets.publishing.service.gov.uk/media/67d1abd1a005e6f9841a1d94/Final_decision_report1.pdf)
11. [Firefox and Wrexham partnership, TechRadar](https://www.techradar.com/computing/browsers/underdog-this-is-why-struggling-browser-firefox-and-ryan-reynolds-wrexham-football-club-are-now-joined-at-the-kit)
12. [Information Flow Control in WebKit's JavaScript Bytecode, PhD thesis of Christoph Kerschbaumer](https://www.christophkerschbaumer.com/files/phd_thesis_christoph_kerschbaumer.pdf)
13. [Apple Introduces Safari for Windows, Apple Newsroom UK (June 11, 2007)](https://www.apple.com/uk/newsroom/2007/06/11Apple-Introduces-Safari-for-Windows/)
14. [Appendix F: Understanding the role of browser engines, CMA Mobile Ecosystems market study](https://assets.publishing.service.gov.uk/media/61b86737e90e07043c35f5be/Appendix_F_-_Understanding_the_role_of_browser_engines.pdf)
15. [BrowserEngineKit, Apple Developer Documentation](https://developer.apple.com/documentation/browserenginekit)
16. [Using alternative browser engines in the European Union, Apple Developer](https://developer.apple.com/it/support/alternative-browser-engines/)
17. [Apple non-confidential submission under the Digital Markets Act (March 7, 2024)](https://www.apple.com/legal/dma/dma-ncs.pdf)
18. [Pourquoi Firefox continue d'être utilisé, Le Monde (November 9, 2024)](https://www.lemonde.fr/pixels/article/2024/11/09/un-geste-politique-pourquoi-firefox-continue-d-etre-utilise-malgre-l-hegemonie-de-chrome_6384639_4408996.html)
19. [Tracking Prevention in WebKit, WebKit](https://webkit.org/tracking-prevention/)
20. [Intelligent Tracking Prevention 2.3, WebKit](https://webkit.org/blog/9521/intelligent-tracking-prevention-2-3/)
21. [App-Bound Domains, WebKit](https://webkit.org/blog/10882/app-bound-domains/)
22. [Privacy Preserving Ad Click Attribution For the Web, WebKit](https://webkit.org/blog/8943/privacy-preserving-ad-click-attribution-for-the-web/)
23. [Browse privately in Safari on Mac, Apple Support](https://support.apple.com/en-gb/guide/safari/ibrw1069/mac)
24. [Keep your browsing history private in Safari, Apple Support](https://support.apple.com/guide/personal-safety/keep-your-browsing-history-private-ips375e6d608/1.0/web/1.0)
25. [Apple's Private Relay tool can leak users' IP addresses, TechRadar](https://www.techradar.com/pro/security/apples-private-relay-tool-can-leak-users-ip-addresses-with-onionbrowser-also-affected)
26. [Use profiles in Safari on Mac, Apple Support](https://support.apple.com/en-ie/105100)
27. [Group tabs in Safari on Mac, Apple Support](https://support.apple.com/en-ie/guide/safari/ibrwa2d73908/mac)
28. [Safari Extensions, Apple Developer](https://developer.apple.com/safari/extensions/)
29. [Keep Safari in sync across your devices with iCloud, Apple Support](https://support.apple.com/en-gb/guide/icloud/mm9b8da4f328/icloud)
30. [Apple Response to Working Papers 1 to 5, CMA (August 1, 2024)](https://assets.publishing.service.gov.uk/media/66d6c524c52d5fb4c82ddd65/2024-08-01_Apple_Response_to_Working_Papers_1_to_5_-_TO_BE_PUBLISHED.pdf)
31. [Mobile Ecosystems Final Decision Report, CMA](https://assets.publishing.service.gov.uk/media/68fb86f430c331c88be6f0cb/Final_decision_report.pdf)
32. [Competition, Innovation, and the Future of the Web, Mozilla Open Policy & Advocacy](https://blog.mozilla.org/netpolicy/2026/03/23/competition-innovation-and-the-future-of-the-web/)
33. [WebKit](https://webkit.org/)
34. [WebKit Features for Safari 27.0, WebKit](https://webkit.org/blog/18325/webkit-features-for-safari-27-0/)
35. [Apple Platform Security Guide](https://help.apple.com/pdf/security/en_US/apple-platform-security-guide.pdf)
36. [About the security content of Safari 26.5, Apple Support](https://support.apple.com/en-us/127121)
37. [developer.apple.com](https://developer.apple.com/app-store/review/guidelines/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Named software products and platforms › Web browsers, app stores, and mobile app platforms › Web browsers and extensions

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/safari-web-browser

English original: https://www.edgepedia.org/safari-web-browser
