This Chrome extension identifies and filters hateful comments from websites in real-time, using an external hate speech detection API.
- Filters hateful comments on web pages by hiding them.
- Allows users to enable/disable the filter via a popup interface.
- Clone or download this repository.
- Load the extension in Chrome:
- Go to
chrome://extensions/. - Enable Developer Mode.
- Click "Load unpacked" and select the folder containing the extension.
- Go to
- Modify the API URL in
content.jsto point to your hate speech detection service.
The extension uses a hate speech detection API to classify comments. You can integrate any API, such as:
Modify the checkForHateSpeech function in content.js with the correct API URL and API key.
- The filter is enabled by default.
- Click on the extension icon in Chrome to toggle the filter on/off.