Skip to content

tjmtmmnk/modekun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 15, 2022
5854c47 · May 15, 2022
Jul 9, 2021
Sep 20, 2021
May 14, 2022
May 4, 2022
May 15, 2022
May 15, 2022
Sep 20, 2021
May 27, 2021
Jul 22, 2021
May 9, 2021
Aug 4, 2021
May 9, 2021
May 14, 2022
May 14, 2022
Jun 29, 2021
May 24, 2021

Repository files navigation

modekun

build

moderate live chat

Install

Usage

Now, modekun can be used only in Youtube and Mildom, and only Japanese.

  • moderate
    • repeat post
    • repeat word in a chat
    • NG word
    • post frequency
    • limit length

popup looks like this

popup-home popup-ng

chats are hidden automatically

chats

repeat post

repeat post threshold (連投閾値) can control how many chats posted by the same user should not be hidden.

example

user A: こんにちは
user A: こんにちは
user A: こんにちは
user B: こんにちは
user B: こんにちは

If repeat post threshold = 3, chats posted by user A will be hidden.

repeat word in a chat

repeat word in a chat (単語繰り返し閾値) can control how many words shown in a chat should not be hidden.

example

user A: 最強最強最強
user B: こんにちは

If repeat word in a chat = 2, chats posted by user A will be hidden.

NG word

user A: こんにちは
user A: こん
user B: ハロー

If NG word = こん, chats posted by user A will be hidden.

post frequency

post frequency(投稿頻度) can control how many posts by the same user in obtained chats.

user A: abc
user A: def
user B: こんにちは

If post frequency threshold = 2, chats posted by user A will be hidden.

limit length

limit length(文字数上限) can control maximum the length of a chat.

user A: abcdefghi...z
user B: こんにちは

If limit length = 10, chats posted by user A will be hidden.

Prerequisites

Setup

npm install

Build

npm run build

Build in watch mode

terminal

npm run watch

Load extension to chrome

Load dist directory

Test

npx jest or npm run test