If you want to try Browsh, you can use Homebrew. Check out the installation page at the official site).
You need Go, Firefox and Node.js to run Browsh.
Follow the installation guide (you can use an installer).
Follow the official guide to install Firefox.
The firefox
executable is probably at /Applications/Firefox.app/Contents/MacOS
.
You need to add it to your PATH
so that Browsh can create new instances of Firefox.
Follow the official downloading page.
Use Nodejs > v8.11.4 with Browsh.
It's a Mozilla tool for working with Firefox web extensions:
npm install -g web-ext
Fork Browsh to your Github account.
Clone it to a directory of your choice.
We will refer to this directory as $browsh
for the rest of the guide.
cd "$browsh/webext"
npm install
cd "$browsh"
# install required package"
./interfacer/contrib/build_browsh.sh
Now that you have the required dependencies installed, we can run Browsh. Open three terminals and do the following:
cd "$browsh/webext
# create a dist folder inside the webext folder.
npx webpack --watch
mkdir "$browsh/webext/dist"
cd "$browsh/webext/dist"
npx webpack --watch
cd "$browsh/interfacer"
go run ./cmd/browsh/main.go --firefox.use-existing --debug