Slack user censor

Replace the messages of a special user with a tiny red bar

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey to install this script.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
geezee
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
54
คะแนน
0 0 0
เวอร์ชัน
1.0.0
สร้างเมื่อ
16-10-2019
อัปเดตเมื่อ
16-10-2019
Size
2.28 กิโลไบต์
สัญญาอนุญาต
GPLv3
ปรับใช้กับ

This script allows you to hide all the messages from a particular user on a particular Slack instance. The offending messages will be replaced by a red bar. You can hover over the "read" word in the bar to read the message.

All you need to setup this code is the id of the offending user, and the instance name (which is trivial, it's the name of your company, or your project...). To retrieve the user id you can right click on their message and check the corresponding HTML. You will find the id in the data-message-sender attribute of a element.