Skip to content

Robot-Inventor/spam-tweets-compressor

Repository files navigation

Spam Tweets Compressor

この内容を日本語で読む

Known Vulnerabilities CodeQL NodeJS with Webpack eslint stylelint test

logo

This extension protects you from tweets that you feel are harassing or threatening by "your standards".

Summary

What kind of tweets are perceived as harassment or threats varies from person to person. It can be difficult to judge objectively. This extension hides tweets that you judge to be "harassing or threatening" based on "your criteria". This is an unofficial browser extension to protect yourself from mindless maliciousness when replying to yourself or viewing tweets about yourself!

You can also hide the tweets of people who send "threats," "harassment of any kind," "promotion of violence," "posting of gross images," etc. with hashtags to specific female idols and female streamers.

✔ What this does

  • You can protect your mind by hiding tweets that are harassing or threatening
  • You can hide them only in your own browser, so you cannot hide them in other people's browsers

✖ What this can't do

  • There is no automatic reporting of tweets deemed potentially harassing or threatening, or the ability to mute or block the poster
  • Hide only on your browser. Can't be hidden on other people's browsers
  • Only works on twitter.com and mobile.twitter.com. Will not work with other Twitter clients or mobile apps

⚠ Precaution

  • This is an unofficial extension, Twitter is not involved in any way
  • Hides "possibly" harassing or threatening tweets. False positives and false negatives can also occur

Report Bugs and Suggest Features

Bug reports and feature suggestions should be sent to one of the following places.

  • GitHub Issues(If you have a GitHub account)
  • Chrome Web Store's [Support] section(If you are using Google Chrome)
  • AMO's review(If you are using Mozilla Firefox)

Supported Browsers

  • Google Chrome
  • Mozilla Firefox
  • Chromium-based browsers (e.g. Microsoft Edge)

Note: The only browsers that have been tested are Google Chrome and Mozilla Firefox; Chromium-based browsers are likely to work correctly because they are internally identical to Google Chrome.

Installation

You can install the extension from each browser's extension store.

Judgment Method

This extension determines whether to hide a tweet based on the following factors.

  • NG words
  • Advanced Filters

About Personal Information

This extension does not send any information to the outside world, as the analysis takes place only on the user's PC. But please note that the extension will automatically receive "data to update the Advance Filter".

This extension will only use the permissions for the following purposes

  • Interferes with twitter.com and mobile.twitter.com to determine whether the displayed tweets are spam or not and hides tweets that are determined to be spam
  • Uses storage permission to save the extension settings in the user folder. Does not send settings to external clouds or servers
  • Access cdn.statically.io to receive the latest spam information for Advanced Filter

Development

When developing, first install the necessary packages.

npm install

Lint

npm run lint:css
npm run lint:js

# lint CSS and JS
npm run lint

Format

npm run format

Test

npm run test

Build

npm run build:css
npm run build:js

# build CSS and JS
npm run build

or

npm run watch:css
npm run watch:js

# watch CSS and JS
npm run watch

Package

npm run pack