This is our browser extension code for Chrome, Firefox and Opera.
Open a SCRAPfy room from:
- Snippets in SctackOverflow and partially (yet) GitHub
- Toolbar button by selecting a language
- Context menu by selecting some text
https://chrome.google.com/webstore/detail/scrapfy/emackoodkdoeflcpjfbdljlfckgbmnae
https://addons.mozilla.org/addon/scrapfy-shared-code-editor
- Open Chrome/Opera browser and navigate to chrome://extensions
- Select "Developer Mode" and then click "Load unpacked extension..."
- From the file browser, choose to
path/to/chrome
or (path/to/opera
)
- Open Firefox browser and navigate to about:debugging
- Click "Load Temporary Add-on" and from the file browser, choose
path/to/firefox
The following tasks can be used when you want to start developing and want to enable live reload
npm run chrome-watch
npm run opera-watch
npm run firefox-watch
Run npm run dist
to create a zipped, production-ready extension for each browser. You can then upload that to the appstore.
Go to SCRAPfy for more details about the app.