Open links in new tab for a list of specified domains
- Install webpack (
npm install -g webpack
) - Clone the repository (
git clone [email protected]:ramkumar-kr/open-in-new-tab.git
) - Run npm install in the react-new-tab-firefox directory to install all dependencies (
npm install
) - Run
webpack
to generate index.js for development
-
For firefox, you can run
npm run firefox
-
For other browsers, there are 2 steps
- run
npm run watch
- Follow the instructions of your browser to load the extension
- run
-
Note: For ubuntu, you can run the npm scripts
- Chromium:
npm run chromium
- Opera:
npm run opera
- Chromium:
- Run
npm run production
- Upload the zip file in the web-ext-artiacts directory to the addon/extension store (Firefox, Chrome, Opera)