a collection of small firefox plugins for various utilities
- Open Firefox and go to
about:debugging#/runtime/this-firefox
- Click "Load Temporary Add-on"
- Select the
manifest.json
file for the plugin you wish to test
-
Go to
about:debugging
- Open a new tab and type:
about:debugging#/runtime/this-firefox
- Press Enter.
- Open a new tab and type:
-
Find Your Extension
- Under "This Firefox" (or "This Nightly" if using Firefox Nightly), look for your extension.
-
Click "Inspect"
- This opens the Developer Tools for the background script.
- Go to the Console tab to see logs from
background.js
.
- Click your extension icon in the toolbar.
- Right-click anywhere in the popup and select Inspect.
- This opens the Developer Tools for
popup.html
andpopup.js
. - Check the Console tab for any errors or logs.
- Open a new tab and type:
about:devtools-toolbox
- Select your extension from the list.
- Check the Console and Network tabs.
- Add
console.log("Debug message");
to your scripts to verify execution. - If the extension isn't working, check the Console for errors.
- Use
browser.runtime.lastError
to catch any runtime issues.