Safari Web Extensions - Apple Developer
developer.apple.com › safari_web_extensionsTo get started with creating a Safari web extension, you have two options: Convert your existing extension into a Safari web extension, so you can use it in Safari in macOS and iOS and distribute it in the App Store. Xcode includes a command-line tool to simplify this process. Build a new Safari web extension in Xcode using the built-in template.