您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically hide posts that match keywords from Lemmy sites.
This userscript allows you to filter out posts on Lemmy that match certain keywords. The script adds a settings page to your Tampermonkey menu, where you can specify the keywords to filter.
If a post's title contains any of the specified keywords, the post will be hidden.
Navigate to any Lemmy website. Click on the Tampermonkey icon in your browser's toolbar, and under the script's name, click on 'Lemmy Keyword Filter Settings'. This will open a settings page where you can enter the keywords you want to filter, separated by commas.
Click the "Save" button to save your keywords and apply the filtering. Posts containing these keywords will be hidden.
The script is set to run on any website, but it will only operate on Lemmy websites. If the script does not detect a Lemmy website, it will not run.
Nearly all of this script and README was written by ChatGPT. AI is not going to replace developers, developers that use AI will replace developers.