---
title: "CleanRoom Filter Extension"
path: "CleanRoom Filter Extension"
---
{%hackmd @RintarouTW/About %}
# CleanRoom Filter Extension
<center><img src="https://i.imgur.com/xQ0Xa2q.png" /></center>
一個簡單的 Chrome 延伸套件,可自動過濾 YouTube 聊天室中簡體與重覆腦殘訊息。
This is a simple Chrome extension.
Auto filter repeated messages and the one written in simplified chinese for Youtube Chat.
## Open Source
<img class="icon" height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/github.svg"></img> https://github.com/RintarouTW/CleanRoom
## Install
1. [下載](https://github.com/RintarouTW/CleanRoom/zipball/release) release branch 成 .zip 檔案,並解壓縮。
[Download](https://github.com/RintarouTW/CleanRoom/zipball/release) the release branch as a zip and decompress it to a folder.
2. 在 Chrome URL 中輸入 `chrome://extensions/`,進入延伸套件管理頁面。
In your Chrome URL, type `chrome://extensions/`, it'll lead you to the extensions management page.
3. 開啟右上角 **開發人員模式**。
Toun on the **Developer Mode** with the toggle on the top right corner of the page.
4. 按下載入未封裝項目按鍵並選擇解壓縮後的檔案夾,即完成安裝。
Click on `Load unpacked` button and choose the decompressed directory.
## Usage in Youtube Chat Room
在 Icon 上點擊即可切換開關(ON/OFF),開啟後會顯示目前已過濾的訊息數量。
Click on the icon to switch on/off. The badge would show how many messages it filtered.
## Filtered Messages
被過濾的訊息仍會紀綠在 Developer Tool 的 Console 中,按下 <kbd>CMD</kbd> + <kbd>Option</kbd> + <kbd>I</kbd> 可查閱。
The filtered messages would be logged in the console. (<kbd>CMD</kbd> + <kbd>Option</kbd> + <kbd>I</kbd>)
###### tags: `youtube` `chrome` `extension` `filter`