-
Notifications
You must be signed in to change notification settings - Fork 290
Building The Extension
marky1954 edited this page Mar 10, 2023
·
4 revisions
Don't waste your time with compliance. FastForward automatically skips annoying link shorteners.
To build the extension, you will need the following:
- Node.js
- A terminal (e.g. Git Bash)
- Git
- An IDE (e.g. Visual Studio Code)
- A clone of this repository WITH your changes
Once you have the prerequisites installed, you can build the extension by following these steps:
- Open a terminal in your IDE and navigate to the root of the repository
- Run
npm install
to install any necessary dependencies dependencies - Run the command
node .\scripts\build.js
to build the extension- Add the
chromium
flag to build the extension for Chromium based browsers (e.g.node .\scripts\build.js chromium
) - Add the
firefox
flag to build the extension for Firefox (e.g.node .\scripts\build.js firefox
)
- Add the
- The extension will be built to the
build
folder - For Firefox:
- Open
about:debugging
in Firefox - Click "This Firefox" (in newer versions of Firefox)
- Click "Load Temporary Add-on..."
- Find the xpi file in the
build
folder and open it - Done! The extension should now be installed
- To uninstall the extension, go to
about:addons
and click the "Remove" button next to the extension
- Open
- For Chromium based browsers:
- Open
chrome://extensions
in Chrome - Enable "Developer mode" in the top right
- Click "Load unpacked"
- Find the
FastForward_chromium
folder and open it - Done! The extension should now be installed
- To uninstall the extension, go to
chrome://extensions
and click the "Remove" button next to the extension
- Open