|Initial release||January 7, 2003|
|Written in||C++, Objective-C and Swift|
|License||Freeware (pre-installed on Apple devices); some components (especially engine) GNU LGPL|
|Part of a series on|
Safari is a graphical web browser developed by Apple. It is primarily based on open-source software, and mainly WebKit. It succeeded Netscape Navigator, Cyberdog and Internet Explorer for Mac as the default web browser for Macintosh computers. It is supported on macOS, iOS, and iPadOS; a Windows version was offered from 2007 to 2010.
Safari was introduced within Mac OS X Panther in January 2003, and as of 2021, has progressed through fifteen major versions. The third generation (January 2007) brought compatibility to the iPhone via iPhone OS 1, while the Macintosh edition was topped with the fastest browser performance at that time. The fifth version (June 2010) introduced a less distracted page reader, extension and developer tools; it was also the final version for Windows. In the eleventh version (September 2017), it added support for Intelligent Tracking Prevention. The thirteenth version included various privacy and application updates such as the FIDO2 USB security key authentication and web Apple Pay support. The fourteenth version, released in November 2020, was 50% faster than Google Chrome, and consumed less battery than other standard competitors. The fifteenth version (July 2021) is the current revision, featuring a redesigned interface.
Apple used a remotely updated plug-in blacklist license to prevent potentially dangerous or vulnerable plugins from running on Safari. In the Pwn2Own contest at the 2008 CanSecWest security conference, Safari caused Mac OS X to be the first OS to fall in a hacking competition. It received criticism for its approach to software distribution and its past limitations of ad blockers. The Safari Developer Program, which granted members the privilege to develop extensions for the browser was available for $USD 99 per year.
In May of 2022, according to StatCounter, Apple's Safari dropped to the third most popular desktop browser after being overtaken by Microsoft's Edge. Safari is now used by 9.61 percent percent of desktop computers worldwide.
Further information: Safari version history
Prior to 1997, Apple's Macintosh computers were shipped with the browsers Netscape Navigator and Cyberdog. It was later replaced by Microsoft's Internet Explorer for Mac within Mac OS 8.1 under the five-year agreement between Apple and Microsoft. In these periods, Microsoft announced three major revisions of Internet Explorer for Mac which were used by Mac OS 8 and Mac OS 9, though Apple continued to support Netscape Navigator as an alternative. In May 2000, Microsoft ultimately released a Mac OS X edition of Internet Explorer for Mac, which was bundled as the default browser in all Mac OS X releases from Mac OS X DP4 to Mac OS X v10.2.
Before the name Safari, a couple of others were drafted including the title 'Freedom'. For over a year, it was privately referred to as 'Alexander', which means strings in coding formats; and 'iBrowse' prior to Safari was conceived.
On January 7, 2003, at Macworld San Francisco, Apple CEO Steve Jobs announced Safari that was based on the company's internal KHTML rendering engine fork WebKit. Apple released the first beta version exclusively on Mac OS X the same day. Later that date, several official and unofficial beta versions followed until version 1.0 was released on June 23, 2003. On Mac OS X v10.3, Safari was pre-installed as the system's default browser, rather than requiring a manual download, as was the case with the previous Mac OS X versions. Safari's predecessor, the Internet Explorer for Mac, was then included in 10.3 as an alternative.
In April 2005, Engineer Dave Hyatt fixed several bugs in Safari. His experiment beta passed the Acid2 rendering test on April 27, 2005, marking it the first browser to do so. Safari 2.0 which was released on April 29, 2005, was the sole browser Mac OS X 10.4 offered by default. Apple touted this version as it was capable of running a 1.8x speed boost compared to version 1.2.4 but it did not yet featured the Acid2 bug fixes. These major changes were initially unavailable for end-users unless they privately installed and compiled the WebKit source code or ran one of the nightly automated builds available at OpenDarwin. In version 2.0.2, released on October 31, 2005, it had finally included modifications on Acid2 bug fixes.
On January 9, 2007, at Macworld San Francisco, Jobs unveiled that Safari was ported to the newly-introduced iPhone within iPhone OS (later called iOS). The mobile version was capable of displaying full, desktop-class websites. At WWDC 2007, Jobs announced Safari 3 for Mac OS X 10.5, Windows XP, and Windows Vista. He ran a benchmark based on the iBench browser test suite comparing the most popular Windows browsers to the browser, and claimed that Safari had the fastest performance. His claim was later examined by a third-party site called Web Performance over HTTP load times. They verified that Safari 3 was indeed the fastest browser on the Windows platform in terms of initial data loading over the Internet, though it was only negligibly faster than Internet Explorer 7 and Mozilla Firefox when it came to static content from the local cache.
The initial Safari 3 beta version for Windows, released on the same day as its announcement at WWDC 2007, contained several bugs and a zero day exploit that allowed remote code executions. The issues were then fixed by Apple three days later on June 14, 2007, in version 3.0.1. On June 22, 2007, Apple released Safari 3.0.2 to address some bugs, performance problems, and other security issues. Safari 3.0.2 for Windows handled some fonts that were missing in the browser but already installed on Windows computers such as Tahoma, Trebuchet MS, and others. The iPhone was previously released on June 29, 2007, with a version of Safari based on the same WebKit rendering engine as the desktop version but with a modified feature set better suited for a mobile device. The version number of Safari as reported in its user agent string is 3.0 was in line along with the contemporary desktop editions.
The first stable, non-beta version of Safari for Windows, Safari 3.1, was offered as a free download on March 18, 2008. In June 2008, Apple released version 3.1.2, which addressed a security vulnerability in the Windows version where visiting a malicious web site could force a download of executable files and execute them on the user's desktop. Safari 3.2, released on November 13, 2008, introduced anti-phishing features using Google Safe Browsing and Extended Validation Certificate support. The final version of Safari 3 was version 3.2.3, which was released on May 12, 2009, with security improvements.
Apple exclusively released Safari 4.1 concurrently with Safari 5 for Mac OS X Tiger. It made uses many features that were found in Safari 5, though it excluded the Safari Reader and Safari Extensions. Apple released Safari 5.1 for both Windows and Mac on July 20, 2011, within Mac OS X 10.7 Lion, which had a faster performance to the addition of 'Reading List'. The company simultaneously announced Safari 5.0.6 in late June 2010 within Mac OS X 10.5 Leopard, though the new functions were excluded from Leopard users.
Safari 6.0 was previously referred to as Safari 5.2 until Apple changed in WWDC 2012. The stable release of Safari 6 coincided with the release of OS X Mountain Lion on July 25, 2012, and was integrated within OS. As a result, it was no longer available for download from Apple's website or any other sources. Apple released Safari 6 via Software Update for users of OS X Lion. It was not released for OS X versions before Lion or for Windows. The company later quietly removed references and links for the Windows version of Safari 5. Microsoft had also removed Safari from its browser-choice page.
On June 11, 2012, Apple released a developer preview of Safari 6.0 with a feature called iCloud Tabs, which syncings with open tabs on any iOS or other OS X device that ran the latest software. It updated new privacy features, including an "Ask websites not to track me" preference and the ability for websites to send OS X 10.8 Mountain Lion users notifications, though it removed RSS support. Safari 6 had the Share Sheets capability in OS X Mountain Lion. The Share Sheet options were: Add to Reading List, Add Bookmark, Email this Page, Message, Twitter, and Facebook. Tabs with full-page previews were added, too. The sixth major version of Safari, it added options to allow pages to be shared with other users via email, Messages, Twitter, and Facebook, as well as making some minor performance improvements. It added supports for -webkit-calc() in CSS. Additionally, various features were removed including Activity Window, separate Download Window, direct support for RSS feeds in the URL field, and bookmarks. The separate search field and the address bar were also no longer available as a toolbar configuration option. It instead it was replaced by the smart search field, a combination of the address bar and the search field.
Safari 9 was announced in WWDC 2015 and was released within OS X El Capitan. New features included audio muting, more options for Safari Reader, and improved autofill. It was not fully available for the previous OS X Yosemite, as Apple required it to be upgraded to Capitan.
Safari 10 was released within OS X Yosemite and OS X El Capitan on September 20, 2016. It had a redesigned Bookmark and History views, and double-clicking will centralized focus on a particular folder. The update redirected Safari extensions to be saved directly to Pocket and Dic Go. Software improvements included Autofill quality from the Contrast card and Web Inspector Timelines Tab, in-line sub-headlines, bylines, and publish dates. The ut tracks and re-applies zoomed level to websites, and legacy plug-ins were disabled by default in favor of HTML5 versions of websites. Recently closed tabs can be reopened via the History menu, or by holding the "+" button in the tab bar, and using Shift-Command-T. When a link opens in a new tab; it is now possible to hit the back button or swipe to close it and go back to the original tab. Debugging is now supported on the Web Inspector. Safari 10 also includes several security updates, including fixes for six WebKit vulnerabilities and issues related to Reader and Tabs. The first version of Safari 10 was released on September 20, 2016, and the last version (10.1.2) was released on July 19, 2017.
Safari 11 was released within macOS High Sierra on September 19, 2017. It was also compatible to OS X El Capitan and macOS Sierra. Safari 11 included several new features such as Intelligent Tracking Prevention which aimed to prevent cross-site tracking by placing limitations on cookies and other website data. Intelligent Tracking Prevention allowed first-party cookies to continue track the browser history, though with time limits. For example, first-party cookies from ad-tech companies such as Google/Alphabet Inc., were set to expire in 24-hours after the visit.
Safari 12 was released within macOS Mojave on September 17, 2018. It was also available to macOS Sierra and macOS High Sierra on September 17, 2018. Safari 12 included several new features such as Icons in tabs, Automatic Strong Passwords, and Intelligent Tracking Prevention 2.0. Safari version 12.0.1 was released on October 30, 2018, within macOS Mojave 10.14.1, and Safari 12.0.2 was released on December 5, 2018, under macOS 10.14.2. Support for developer-signed classic Safari Extensions has been dropped. This version would also be the last that supported the official Extensions Gallery. Apple also encouraged extension authors to switch to Safari App Extensions, which triggered negative feedbacks from the community.
Safari 13 was released within macOS Catalina at WWDC 2019 on June 3, 2019. Safari 13 included several new features such as prompting users to change weak passwords, FIDO2 USB security key authentication support, Sign in with Apple support, Apple Pay on the Web support, and increased speed and security. Safari 13 was released on September 20, 2019, on macOS Mojave and macOS High Sierra.
In June 2020 it was announced that macOS Big Sur will include Safari 14. Safari 14 introduced new privacy features, including Privacy Report, which shows blocked content and privacy information on web pages. Users will also receive a monthly report on trackers that Safari has blocked. Extensions can also be enabled or disabled on a site-by-site basis. Safari 14 introduced partial support for the WebExtension API used in Google Chrome, Microsoft Edge, Firefox, and Opera, making it easier for developers to port their extensions from those web browsers to Safari. Support for Adobe Flash Player will also be dropped from Safari, 3 months ahead of its end-of-life. A built-in translation service allows translation of a page to another language. Safari 14 was released as a standalone update to macOS Catalina and Mojave users on September 16, 2020. It added Ecosia as a supported search engine.
Safari 15 was released within macOS Monterey and was also available for macOS Big Sur and macOS Catalina on September 20, 2021. It featured a redesigned interface and tab groups that blended better into the background. There was also a new home page and extension supports on the iOS and iPadOS editions.
Safari Technology Preview was first released alongside OS X El Capitan 10.11.4. Safari Technology Preview releases include the latest version of WebKit, which included Web technologies in the future stable releases of Safari so that developers and users can install the Technology Preview release on a Mac, test those features, and provide feedback.
The Safari Developer Program was a program dedicated for in-browser extension and HTML developers. It allowed members to write and distribute extensions for the browser through the Safari Extensions Gallery. It was initially free until it was incorporated into the Apple Developer Program in WWDC 2015, which cost $99 a year at the time, but has since increased 3-fold. The charges prompted frustrations from developers. Within OS X El Capitan, Apple implemented the Secure Extension Distribution to further improve its security, and it automatically updated all extensions within the Safari Extensions Gallery.
Until Safari 6.0, it included a built-in web feed aggregator that supported the RSS and Atom standards. Current features included Private Browsing (a mode in which the browser retains no record of information about the user's web activity), the ability to archive web content in WebArchive format, the ability to email complete web pages directly from a browser menu, the ability to search bookmarks, and the ability to share tabs between all Mac and iOS devices running appropriate versions of software via an iCloud account. WebKit2 has a multiprocess API for WebKit, where the web-content is handled by a separate process than the application using WebKit. Apple announced WebKit2 in April 2010. Safari for OS X switched to the new API with version 5.1. Safari for iOS switched to WebKit2 with iOS 8.
Main article: Safari version history
|Operating system||Operating system version||Latest Safari version||Support|
|macOS||Mac OS X 10.2 Jaguar||1.0.3 (August 13, 2004)||2003–2004|
|Mac OS X 10.3 Panther||1.3.2 (January 11, 2006)||2003–2006|
|Mac OS X 10.4 Tiger||4.1.3 (November 18, 2010)||2005–2010|
|Mac OS X 10.5 Leopard||5.0.6 (July 20, 2011)||2007–2011|
|Mac OS X 10.6 Snow Leopard||5.1.10 (September 12, 2013)||2009–2013|
|Mac OS X 10.7 Lion||6.1.6 (August 13, 2014)||2011–2014|
|OS X 10.8 Mountain Lion||6.2.8 (August 13, 2015)||2012–2015|
|OS X 10.9 Mavericks||9.1.3 (September 1, 2016)||2013–2016|
|OS X 10.10 Yosemite||10.1.2 (July 19, 2017)||2014–2017|
|OS X 10.11 El Capitan||11.1.2 (July 9, 2018)||2015–2018|
|macOS 10.12 Sierra||12.1.2 (July 22, 2019)||2016–2019|
|macOS 10.13 High Sierra||13.1.2 (July 15, 2020)||2017–2020|
|macOS 10.14 Mojave||14.1.2 (September 13, 2021)||2018–2021|
|macOS 10.15 Catalina||15.0 (September 21, 2021)||Since 2019|
|macOS 11 Big Sur||Since 2020|
|macOS 12 Monterey||Since 2021|
|Windows 2000||3.0.3 (August 1, 2007)||Beta|
|Windows XP RTM, SP1||4.0.3 (August 11, 2009)||2007–2009|
|Windows XP SP2, SP3||5.1.7 (May 9, 2012)||2007–2012|
|Windows 8||Unofficial|
|iOS||iPhone OS 1||1.0.1||2007–2008|
|iPhone OS 2||2.2||2008–2010|
|iPhone OS 3||3.2.2||2009–2011|
|iOS 8||8.4.1||2014–present (Third-party Application)|
|iOS 9||9.1||2015–present (Third-party Application)|
|iOS 10||10.3.4||2016–present (Third-party Application)|
|iOS 11||11.4.1||2017–present (Third-party Application)|
|iOS 12||12.4.1||2018–present (Third-party Application)|
|iOS 13||13.7||2019–present (Third-party Application)|
|iOS 15||iOS 15||Current|
Apple used a remotely updated plug-in blacklist to prevent potentially dangerous or vulnerable plugins from running on Safari. Initially, Flash and Java contents were blocked on some early versions of Safari. Since Safari 12 support for NPAPI plugins (except for Flash) has been completely dropped. Starting with the release of Safari 14, support for Adobe Flash Player will be dropped altogether.
The license has common terms against reverse engineering, copying and sub-licensing, open-source except parts, and its warranties and liability. The permission to opt-out of tracking was limited to specific devices. For example, Windows user is restricted to run opt-out of tracking since their license omits the opening If clause. All users were allowed to opt-out of location tracking by not using location services. Optionally, users can choose to enable a withdrawable diagnostic and usage collection program, which permitted Apple and its associated to collect, use manage their datas and informations under the terms that they wouldn't publicly identify them.
Apple defined "personal" does not cover "unique device identifiers" such as serial number, cookie number, or IP address, so the uses of these were permitted by law. In September 2017 Apple announced that it will use artificial intelligence (AI) to reduce the ability of advertisers to track Safari users as they browse the web. Cookies used for tracking will be allowed for 24 hours, then disabled, unless AI judges the user wants the cookie. Major advertising groups objected, saying it will reduce the free services supported by advertising, while other experts praised the change.
See also: Browser security
In the Pwn2Own contest at the 2008 CanSecWest security conference in Vancouver, British Columbia, Safari caused Mac OS X to be the first OS to fall in a hacking competition. Participants competed to find a way to read the contents of a file located on the user's desktop in one of three operating systems: Mac OS X Leopard, Windows Vista SP1, and Ubuntu 7.10. On the second day of the contest, when users were allowed to physically interact with the computers (the prior day permitted only network attacks), Charlie Miller compromised Mac OS X through an unpatched vulnerability of the PCRE library used by Safari. Miller was aware of the flaw before the conference and worked to exploit it unannounced, as is the common approach in these contests. The exploited vulnerability and other flaws were patched in Safari 3.1.1.
In the 2009 Pwn2Own contest, Charlie Miller performed another exploit of Safari to hack into a Mac. Miller again acknowledged that he knew about the security flaw before the competition and had done considerable research and preparation work on the exploit. Apple released a patch for this exploit and others on May 12, 2009, with Safari 3.2.3.
In January 2022, browser fingerprinting and fraud detection service FingerprintJS found a vulnerability in the IndexDB API implementation in WebKit Storage used by Safari 15 on macOS, iOS and iPadOS. This vulnerability allows a malicious site to access browsing history and activity as well as user private session data on other websites which is a violation of the same-origin policy. The vulnerability was assigned CVE-2022-22594 and patched by Apple. The fix was released alongside iOS 15.3 and macOS 12.2 on January 26, 2022.
An earlier version of Apple Software Update (bundled with Safari, QuickTime, and iTunes for Microsoft Windows) selected Safari for installation from a list of Apple programs to download by default, even when it did not detect an existing installation of Safari on a user's machine. John Lilly, former CEO of Mozilla, stated that Apple's use of its updating software to promote its other products was "a bad practice and should stop." He argued that the practice "borders on malware distribution practices" and "undermines the trust that we're all trying to build with users." Apple spokesman Bill Evans sidestepped Lilly's statement, saying that Apple was only "using Software Update to make it easy and convenient for both Mac and Windows users to get the latest Safari update from Apple." Apple also released a new version of Apple Software Update that puts new software in its own section, though still selected for installation by default. By late 2008, Apple Software Update no longer selected new installation items in the new software section by default.
Software security firm Sophos detailed how Snow Leopard and Windows users were not supported by the Safari 6 release at the time, while there were over 121 vulnerabilities left unpatched on those platforms. Since then, Snow Leopard has had only three minor version releases (the most recent in September 2013), and Windows has had none. While no official word has been released by Apple, the indication is that these are the final versions available for these operating systems, and both retain significant security issues.
While Safari pioneered several now standard HTML5 features (such as the Canvas API) in its early years, it has come under attack for failing to keep pace with some modern web technologies. Since 2015, iOS has allowed third party web browsers to be installed, including Chrome, Firefox, Opera and Edge; however, they are all forced to use the underlying WebKit browser engine, and inherit its limitations.
Beginning in 2018, Apple made technical changes to Safari's content blocking functionality which prompted backlash from users and developers of ad blocking extensions, who said the changes made it impossible to offer a similar level of user protection found in other browsers. Internally, the update limited the number of blocking rules which could be applied by third-party extensions, preventing the full implementation of community-developed blocklists. In response, several developers of popular ad and tracking blockers announced their products were being discontinued, as they were now incompatible with Safari's newly limited content blocking features. As a matter of policy, Apple requires the use of WebKit, Safari's underlying rendering engine, in all browsers developed for its iOS platform, preventing users from installing any competing product which offers full ad blocking functionality. Beginning with Safari 13, popular extensions such as uBlock Origin will no longer work.
((cite web)): CS1 maint: url-status (link)
Most of the applications you see on Mac OS X and iPhone OS, including Mail and Safari, are Cocoa applications.