From 06e9e0322b9be7d2e787f31c35d7da6fad038fb9 Mon Sep 17 00:00:00 2001 From: silvererudite Date: Fri, 18 Oct 2019 01:25:54 +0600 Subject: [PATCH] adding some additional instructions in README for development --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 7574cf0..a3ebb19 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,26 @@ For more info, see: 1. `npm install` 2. `./node_modules/.bin/web-ext run -s src/` +or + +you can also test your changes without having to install web-ext as step #2 above + +**Debugging in the browser** + +Visit `about:debugging` in your browser. + +Then select the option `load temporary Add-on` +and load the extension by selecting any file from the Web Extensions' dir. In our case, e.g. select manifest.json from the src dir. + +For reference, [watch this video](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension#Installing) + +After you make your changes, simply press the `reload` button to see them in effect. + + + + + + ### Testing TBD