From 59e9f327672100eae3b4b11afeedc91c92a32ebc Mon Sep 17 00:00:00 2001 From: Princess Mortix <47502554+princessmortix@users.noreply.github.com> Date: Sun, 24 Sep 2023 09:16:27 -0300 Subject: [PATCH] style: add build instructions for the extension --- docs/INSTALLING.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/INSTALLING.md b/docs/INSTALLING.md index a5bab8d5b..2f562ff29 100644 --- a/docs/INSTALLING.md +++ b/docs/INSTALLING.md @@ -115,6 +115,14 @@ Please follow [the instructions here](https://github.com/FastForwardTeam/release 8. Find FastForward. 9. Add FastForward. +## Building the extension +1. Clone this reposirory; +2. Navigate to `scripts` folder; +3. Run `npm ci`, make sure you have both latest node.js and npm installed; +4. Build the extension by running `node build.js {firefox|chromium|all} {none|nover|ver}`. + +Example: Building for chrome: `node build.js chromium nover`. + ## Troubleshooting
"Manifest version 2 is deprecated, and support will be removed in 2023. See https://developer.chrome.com/blog/mv2-transition/ for more details."
@@ -164,8 +172,17 @@ It's because you forgot to extract twice the file. Please re-read step 3.
Linkvertise is not being bypassed +**If you're using Chrome:** Builds for Chrome doesn't include Linkvertise bypass, you need to manually build the extension, using [this guide](#building-the-extension). + +**If you're using Firefox:** +Firefox builds includes Linkvertise bypass. + +*** + +**If you're using MV2 version of the extension:** + +Copy and paste the contents of [this page](https://raw.githubusercontent.com/FastForwardTeam/FastForward/manifest-v2/src/linkvertise.js). -Copy and paste the contents of [this page](https://raw.githubusercontent.com/FastForwardTeam/FastForward/main/src/linkvertise.js). Go to the extension settings and paste the contents of the file into the "Custom Bypasses" field, as shown below.