Allows finer control over what words you want to hide from the platform
当前为
This contains a UI enhancement to Twitter that adds Enhanced Muted Words to the Twitter UI. It provides much improved and much finer grain control of muted words, with the option for using regular expressions for filtering.
BETA VERSION
Currently only posts from the timeline are hidden at this time. A planned future enhancement is to support comments.
This is a userscript that has been designed to run under TamperMonkey. You will first need to have the tampermonkey
plugin installed.
You then go to GreasyFork and choose Install Script:
This will bring up the Tampermonkey script install with the information for the script. Click on
Install to complete the install.
Once the script is installed and running, go to Twitter as you normally would.
In the bar on the left hand side, click on the More button, just above Post. And then choose Settings and Privacy from
the menu.
Under Settings, choose Privacy and Safety, then in the far right bar choose Muted and Block.
You can now click on Enhanced Muted Words to get to the new features.
Click on Add Row to add a new row for a blocked word. Fill in the phrase you wish to block and set the Regex switch
to either true to use it as a regular expression match or false to use it as an exact match.
Click Save to save the rows. Your muted phrase will then be active.
Regular Expression Generator
This may be useful to those not familiar with regular expressions.
Click on Remove Row to remove a blocked word row.
Click Save to save the rows. Your muted phrase will then be removed.
To build the code use the following commands.
# install dependencies
npm install
# build userscript
npm run compile-prod
To install the code, go to the dashboard for Tampermonkey, and click on the + tab.
Copy the contents of the js file in the dist folder to the editor on the page, and then choose Save.
Close your browser and reopen it and the Enhanced Muted Words userscript will be active.