This is a web extension which is written in Rust and then compiled to WebAssembly.
Before using this extension, ensure that you have the following software installed:
Rust
Cargo
wasm-pack
- Clone this repository to your local machine
- Change into the project directory
- Run the following command to set up the pre-commit hook:
make prepare
This will add the pre-commit file to the ".git/hooks" directory, ensuring code quality and formatting checks before committing.
You can test this WebAssembly extension on example.com. Follow these steps:
- Build the WebAssembly module:
make build-chromium
- A
dist
directory will appear at the root level. - Navigate to chrome://extensions and ensure that "Developer mode" is enabled.
- Click the "Load unpacked" button and select the contents of the
dist
directory. - Navigate to example.com to test.
This project is licensed under the MIT License - see the LICENSE file for details.
- support Firefox addons