Example firefox extension. Minimal example for purescript as WebExtensions language. See the tutorial page for the original extension: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension
Install purescript and spago:
npm install
Install package dependencies and build project:
npx spago build
Optimize and bundle executable:
npx spago bundle-app -t content/out.js