Anilist: Activity-Feed Filter

Control the content displayed in your activity feeds

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
SeyTi01
日安装量
0
总安装量
46
评分
0 0 0
版本
1.8.5
创建于
2023-09-13
更新于
2025-07-21
大小
15.2 KB
许可证
MIT
适用于

Configuration

Edit the config object at the top of the script file to customize the script's behavior. Here are the options:

  • remove: Controls the removal of activities.
    • images (default: false): Set to true to remove activities containing images.
    • gifs (default: false): Set to true to remove activities containing gifs.
    • videos (default: false): Set to true to remove activities containing videos.
    • text (default: false): Set to true to remove activities containing only text.
    • uncommented (default: false): Set to true to remove activities that have no comments.
    • unliked (default: false): Set to true to remove activities that have no likes.
    • containsStrings (default: []): Remove activities containing user-defined strings.
  • options: Additional settings.
    • targetLoadCount (default: 2): Set the minimum number of activities to display per "Load More" click.
    • caseSensitive (default: false): Set to true for case-sensitive string removal.
    • reverseConditions (default: false): Set to true to only keep posts that meet removal conditions.
    • linkedConditions (default: []): Groups of conditions to be checked together.
  • runOn: Determines where the script runs.
    • home (default: true): Set to true to run on the home feed (/home).
    • social (default: true): Set to true to run on social feeds (/*/social).
    • profile (default: false): Set to true to run on user profile feeds (/user/*).
    • guestHome (default: false): Set to true to run on the home feed for guests (/social).

Additional Information

containsStrings and linkedConditions support both regular ([]) and two-dimensional arrays ([[]]). In two-dimensional arrays, conditions/strings within the inner arrays are evaluated together.

  • ['A', 'B'] removes entries containing either 'A' or 'B'.
  • [['A', 'B']] removes entries containing both 'A' and 'B'.
  • [['A', 'B'], ['C', 'D']] removes entries containing either both 'A' and 'B' or both 'C' and 'D'.

Example Usages

  • options.linkedConditions: [['images', 'containsStrings'], ['uncommented', 'unliked']]:
    • Remove activities containing either both images and specific strings, or neither comments nor likes.
  • options.reverseConditions = true, remove.images = true:
    • Remove all activities except those containing images.

Demonstration

Filter for: videos | text | show name