https://github.com/brcontainer/webextension-api-samples
WebExtension API usage examples (Chrome, Opera, Firefox)
https://github.com/brcontainer/webextension-api-samples
Last synced: 8 months ago
JSON representation
WebExtension API usage examples (Chrome, Opera, Firefox)
- Host: GitHub
- URL: https://github.com/brcontainer/webextension-api-samples
- Owner: brcontainer
- License: mit
- Created: 2016-08-11T16:55:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-16T21:01:57.000Z (almost 10 years ago)
- Last Synced: 2025-03-13T01:41:15.455Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 284 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Install
## Firefox
- Type `about:debugging` in addressbar
- Click in "Load Temporary Addon"
- Select manifest.json file
See a example: [GIF animation with example for load add-on in Firefox](guides/firefox.gif)
## Chrome
- Type `chrome://extensions/` in addressbar
- Check "Developer mode"
- Click in "Load unpacked extension"
- Select folder from sources
## Opera
- Type `chrome://extensions/` (or `about:extensions`) in addressbar
- Click in button "Developer mode"
- Click in "Load unpacked extension"
- Select folder from sources
## Debugging in Opera or Chrome
- Click with right mouse button, and select "Inspect pop-up"
- Go to Console tab in "Developer Tools" and type your commands
(More details: https://developer.chrome.com/extensions/tut_debugging)
## Debugging in Firefox
**Note:** Requires Firefox 48 (or Developer Edition) for load of temporary add-on
- Go to chrome folder (from this project) and select background.js
- After addon is showed, click on "Debug" button (on right extension)
- In Console tab type your commands
(More details: https://developer.mozilla.org/en-US/docs/Tools/about:debugging)