Skip to content

A browser extension to improve the Sigarra user experience

License

Notifications You must be signed in to change notification settings

NIAEFEUP/nitsig

Repository files navigation

Development / Building / Bundling the Extension

First, you must have yarn installed.

Run

yarn && yarn bundle [all | firefox | chrome | safari]

at the root directory and you'll get a bundle directory that looks like this:

📂 bundle
└ 📁 chrome
└ 📁 firefox
└ 📁 safari
└ 🗄️ chrome.zip
└ 🗄️ firefox.zip
└ 🗄️ safari.zip

Watch for changes

sudo yarn watch [firefox | chrome | safari]

The extension polls the watch webserver for changes, if the page doesn't reload automatically, reload the extension and if that doesn't work, see the service worker/background script console for errors.

Load Extension

You can bundle the extension for Chrome, Firefox, and Safari:

Chrome or Edge Firefox Safari
  1. Open chrome://extensions or edge://extensions
  2. Turn on the Developer mode toggle
  3. Click on the Load unpacked button
  4. Select the folder bundle/chrome
  1. Open about:debugging#/runtime/this-firefox
  2. Click on the Load Temporary Add-on... button
  3. Select the file bundle/firefox/manifest.json
  1. Open bundle/safari/NitSig for NitSig.xcodeproj
  2. Click the Play button in Xcode ("start the active scheme")
  3. Configure Safari in macOS to run unsigned extensions

This respository was based on the typefully/minimal-twitter extension repository