This guide explains how to test the Sentence Follower extension in Firefox.
To create a Firefox-compatible version of the extension with the current state of your code, run:
./scripts/setup-firefox-test.sh
This script will:
- Create a
firefox-test
directory with all necessary files - Copy the current manifest.json file (Firefox supports Manifest V3)
- Create a zip file (
sentence-follower-firefox.zip
) for easy installation
Note: Run this script whenever you make changes to the codebase that you want to test in Firefox.
After running the setup script, a Firefox-compatible version of the extension will be available in two formats:
- Directory: The
firefox-test
directory contains all the necessary files for loading the extension in Firefox. - ZIP File: The
sentence-follower-firefox.zip
file contains the same files in a compressed format.
- Open Firefox
- Navigate to
about:debugging
- Click "This Firefox"
- Click "Load Temporary Add-on..."
- Navigate to the
firefox-test
directory and select themanifest.json
file
- Open Firefox
- Navigate to
about:debugging
- Click "This Firefox"
- Click "Load Temporary Add-on..."
- Select the
sentence-follower-firefox.zip
file
Note: Temporarily installed extensions will be removed when Firefox is closed.
Once installed, the extension will highlight the sentence under your cursor as you move it over text on web pages.
- Toggle the extension on/off:
Alt+Shift+H
- Configure appearance: Click the extension icon in the toolbar
If you encounter any issues:
- Check the Firefox console (F12 > Console) for error messages
- Make sure all the files are correctly copied to the firefox-test directory
- Try reloading the extension from about:debugging
- Run the setup script again to ensure you have the latest code