npm install
npx web-ext run
to start the extension in a new Firefox instance
about:debugging
and click This Firefox
then Inspect
to open the developer tools for the extensionnpx web-ext run -t chromium
to start the extension in a new Chromium instance
chrome://extensions
and toggle Developer mode
then click Inspect views: background page
to open the developer tools for the extension--devtools
. This will automatically bring up the developers console.xcrun /Applications/Xcode.app/Contents/Developer/usr/bin/safari-web-extension-converter [PATH TO EXTENSION DIRECTORY]
. This will create a build folder in your project directory and open Xcode.run
the project as a macos
application. This will build the extension for you and give you a pop-up saying to quit and open Safari preferences.
Developer
turn on and allow unsigned extensions to be run. Allowing unsigned extensions must be enabled every time you start a new Safari window.