Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swetrix/swetrix-browser
Browser Extension for Swetrix Analytics
https://github.com/swetrix/swetrix-browser
analytics browser-extension chrome chrome-extension extension firefox firefox-addon firefox-extension tracking webextension
Last synced: 7 days ago
JSON representation
Browser Extension for Swetrix Analytics
- Host: GitHub
- URL: https://github.com/swetrix/swetrix-browser
- Owner: Swetrix
- License: agpl-3.0
- Created: 2021-12-30T15:51:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-26T20:39:16.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T11:38:56.995Z (8 months ago)
- Topics: analytics, browser-extension, chrome, chrome-extension, extension, firefox, firefox-addon, firefox-extension, tracking, webextension
- Language: JavaScript
- Homepage: https://swetrix.com
- Size: 263 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/funding.yml
- License: LICENSE
Awesome Lists containing this project
README
# [Work in Progress] Browser Extension for Swetrix Analytics
## Install
[link-chrome]: https://chrome.google.com/webstore/detail/swetrix/glbeclfdldjldjonfnpnembfkhphmeld 'Version published on Chrome Web Store'
[link-firefox]: https://addons.mozilla.org/en-US/firefox/addon/swetrix/ 'Version published on Mozilla Add-ons'[][link-chrome] [][link-chrome] also compatible with [][link-chrome] [][link-chrome]
[][link-firefox] [][link-firefox]
## Build locally
1. Checkout the copied repository to your local machine eg. with `git clone https://github.com/Swetrix/swetrix-browser.git`
1. Run `npm install` to install all the required dependencies.
1. Run `npm run build`The build step will create the `distribution` folder, this folder will contain the generated extension.
## Run the extension
Using [web-ext](https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/) is recommened for automatic reloading and running in a dedicated browser instance. Alternatively you can load the extension manually (see below).
1. Run `npm install --global web-ext` (only only for the first time).
1. Run `npm run watch` to watch for file changes and build continuously.
1. In another terminal, run `web-ext run` for Firefox or `web-ext run -t chromium` for Chrome.
1. Check that the extension is loaded by opening it's popup window.#### Manually
You can also [load the extension manually in Chrome](https://www.smashingmagazine.com/2017/04/browser-extension-edge-chrome-firefox-opera-brave-vivaldi/#google-chrome-opera-vivaldi) or [Firefox](https://www.smashingmagazine.com/2017/04/browser-extension-edge-chrome-firefox-opera-brave-vivaldi/#mozilla-firefox).