---
title: Adopting New Safari Web Extension APIs
framework: safariservices
role: sampleCode
role_heading: Sample Code
path: safariservices/adopting-new-safari-web-extension-apis
---

# Adopting New Safari Web Extension APIs

Improve your web extension in Safari with a non-persistent background page and new tab-override customization.

## Overview

Overview note: This sample code project is associated with WWDC21 sessions 10027: Explore Safari Web Extension Improvements; and 10104: Meet Safari Web Extensions on iOS. Configure the Sample Code Project Before you run the sample code project in Xcode: On macOS: Open Safari and choose Develop > Allow Unsigned Extensions. In the project settings in Xcode, select the Sea Creator (macOS) target. Click the Signing & Capabilities tab. For Signing Certificate, choose Sign to Run Locally. (Leave Team set to None.) Repeat steps 3 and 4 for the Sea Creator Extension (macOS) target. On iOS, to run on a device: In the project settings in Xcode, select the Sea Creator (iOS) target. Click the Signing & Capabilities tab. Select a development team. Repeat the above steps for the Sea Creator Extension (iOS) target.

## See Also

### Extension improvements

- [Optimizing your web extension for Safari](safariservices/optimizing-your-web-extension-for-safari.md)
- [Syncing Safari web extensions across devices and platforms](safariservices/syncing-safari-web-extensions-across-devices-and-platforms.md)
- [Assessing your Safari web extension’s browser compatibility](safariservices/assessing-your-safari-web-extension-s-browser-compatibility.md)
- [Troubleshooting your Safari web extension](safariservices/troubleshooting-your-safari-web-extension.md)
