I am now working on the official ECL 2.0 Web Extension. The new addon includes parts of this addon's functionality and adds tons of more features. Check it out on ECL's GitLab.
ECL is a matchmaking organizer for Counter-Strike: Global Offensive. Their games are hosted and managed by Faceit. In order to report misbehaving players ECL made their own report tool. Unfortunately a lot of information must be copied over, like a link to the match room, the link to the reported player and so on. This discourages players from reporting others and gives room for toxic players. The goal of this extension is to offer a clean and fast way to report players and making the ECL experience a bit better.
Did you discover something strange or want to request a new feature? PM me on twitter or write me an email or even better: open an issue.
If you want to contribute to this project make sure you read the CODE OF CONDUCT and are familiar with How to contribute to open source. Read the CONTRIBUTING.md.
- Make sure you have npm installed
- Clone this repo:
git clone [email protected]:FoseFx/ECL-Report-Addon.git
- Install Dependencies
npm run setup
- Build the extension for development using
npm run build:dev
- Build the extension for production using
npm run build:prod
- Install the build
In order to be merged your code must be tested. This project uses the jest test runner.
Run npm test
to run all tests and to generate a coverage report (open using firefox coverage/lconv-report/index.html
)
Run npm run e2e[:nobuild]
to run all End to End tests.
This requires docker to be installed and firefox
and google-chrome
to exist in yor path.
Because we cant run chrome in headless mode a display is needed.
If you dont have a display connected install Xvfb
and run npm run e2e:nox
or npm run e2e:nobuild-nox
.
Code style and readability is important! Use npm run lint
to check if your code is compliant, if not try npm run lint:fix
and/or manually fix it.
- Navigate to
about:addons
. - Click on the wheel
- Click
debug addon
- Click
load temporary addon
- Navigate to
chrome://extensions/
. - Activate
developer mode
in the upper right corner - Click
load unpacked