If the extension was not installed automatically when installing Hatch you can get it directly in the browser from the
https://chrome.google.com/webstore/detail/hatch-native-messenger/ppooibdipmklfichpmkcgplfgdplgahl[Chrome App Store]
+=== Install Firefox Add-on ===
+If the add-on was not installed automatically when installing Hatch you can get it directly in the browser from the
+Firefox Add-on site.
+
=== Continue with xref:using-hatch[Using Hatch] ===
value to match the location of your copy of "hatch.sh", found in the root
directory of the Hatch repository.
-Copy the host file into Chrome's configuration directory.
+Copy the host file into your browser's configuration directory.
For Chrome:
[source,sh]
-------------------------------------------------------------------------
$ mkdir -p ~/.config/google-chrome/NativeMessagingHosts/
-$ cp extension/host/org.evergreen_ils.hatch.json ~/.config/google-chrome/NativeMessagingHosts/
+$ cp extension/host/chrome/org.evergreen_ils.hatch.json ~/.config/google-chrome/NativeMessagingHosts/
-------------------------------------------------------------------------
For Chromium:
[source,sh]
-------------------------------------------------------------------------
$ mkdir -p ~/.config/chromium/NativeMessagingHosts/
-$ cp extension/host/org.evergreen_ils.hatch.json ~/.config/chromium/NativeMessagingHosts/
+$ cp extension/host/chrome/org.evergreen_ils.hatch.json ~/.config/chromium/NativeMessagingHosts/
+-------------------------------------------------------------------------
+
+For Firefox:
+
+[source,sh]
+-------------------------------------------------------------------------
+$ mkdir -p ~/.mozilla/native-messaging-hosts/
+$ cp extension/host/firefox/org.evergreen_ils.hatch.json ~/.mozilla/native-messaging-hosts/
-------------------------------------------------------------------------
+
=== Install Chrome Extension ===
Install the exenstion directly in the browser from the
https://chrome.google.com/webstore/detail/hatch-native-messenger/ppooibdipmklfichpmkcgplfgdplgahl[Chrome App Store]
+=== Install Firefox Add-on ===
+Install the extension directly in the browser from the Firefox Add-ons site.
==== Optional: Test Hatch ====
the exention manually via developer mode tools).
* See also https://developer.chrome.com/extensions/getstarted
+
+=== Optional: Debugging The Firefox Add-on ===
+
+ * Navigate to about:addons
+ * Click on the gear dropdown and select "Debug Add-ons".
+ * Click the "Debug" link to see the exension console.
+ * When the extension is loaded (or reloaded), it should show
+ "Connecting to native messaging host: org.evergreen_ils.hatch"
+ in the Background Page console with no errors.
+ * Use the "Reload" link to apply local changes made to the
+ extension (e.g. main.js). (This might only work when installing
+ the exention manually via developer mode tools).
+ * See also https://developer.mozilla.org/en-US/Add-ons
+