Anilist: Activity-Feed Filter

Control the content displayed in your activity feeds

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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