Anilist: Hide Unwanted Activity

Customize activity feeds by removing unwanted entries.

当前为 2023-09-29 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
SeyTi01
评分
0 0 0
版本
1.7
创建于
2023-09-13
更新于
2023-09-29
大小
10.4 KB
许可证
MIT
适用于

Configuration

Customize the script's behavior by editing the config object at the top of the script file. Below are the configuration options with their valid values:

  • targetLoadCount (Default: 2): Set a positive integer representing the minimum number of activities to display per click on the "Load More" button.
  • remove:
    • uncommented (Default: true): Set to true to remove activities with no comments. Set to false to keep them.
    • unliked (Default: false): Set to true to remove activities with no likes. Set to false to keep them.
    • images (Default: false): Set to true to remove activities containing images. Set to false to keep them.
    • videos (Default: false): Set to true to remove activities containing videos. Set to false to keep them.
    • customStrings (Default: []): Specify an array of strings that, if found in activities, will trigger their removal. For example, ['plans to watch', 'show-name']. Leave it as an empty array [] if you don't want to use this feature.
    • caseSensitive (Default: false): Set to true for case-sensitive string removal. Set to false for case-insensitive removal.
  • runOn:
    • home (Default: true): Set to true to run the script on the home feed. Set to false to exclude the home feed from processing.
    • social (Default: true): Set to true to run the script on social feeds. Set to false to exclude social feeds from processing.
    • profile (Default: false): Set to true to run the script on user profile feeds. Set to false to exclude profile feeds from processing.
  • linkedConditions (Default: [[]]): Allows you to group conditions together. Activities are removed if they satisfy all conditions within a group. Linked conditions are always checked (even if the individual conditions are set to false).

Example usage (linkedConditions): [['uncommented', 'unliked'], ['images', 'customStrings']]