/twitter-sensitive-media

a Chrome extension that marks Twitter media as sensitive based on a blacklist of words.

Primary LanguageJavaScriptMIT LicenseMIT

Twitter Sensitive Media

a Chrome extension that marks Twitter media as sensitive based on a blacklist of words.

Installation

Right now, this extension is only available in unpacked form.

First, clone this repository:

git clone https://github.com/sorousherafat/twitter-sensitive-media.git

Then follow this guide on how to install unpacked extensions on Chrome.

Usage

Currently, this extension uses clarifai image recognition API, so you need an account and app with an image recognition model there. Open the extension's popup and enter the following settings:

Key Value
Blacklisted Words A comma-separated list of words to blacklist.
Clarifai Access Token Clarifai's personal access token, available in user security settings.
Clarifai User ID The user ID you chose at the time of registration at Clarifai.
Clarifai App ID The app ID you chose at the time of creating an app with image recognition model at Clarifai.

Now any images in your Twitter feed that are assumed to contain an object from the blacklist are blurred. Keep your mouse on any of these images for 3 seconds for them to be revealed.

TODO

  • Add support for videos.
  • Add support for different API providers.
  • Add support for in-browser object detection models.