Greasy Fork

Anilist: Hide Unwanted Activity

Customize activity feeds by removing unwanted entries

目前为 2023-11-14 提交的版本。查看 最新版本

作者
SeyTi01
评分
0 0 0
版本
1.8
创建于
2023-09-13
更新于
2023-11-14
大小
12.0 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:

  • 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.
    • text (Default: false): Set to true to remove activities containing only text. 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.
    • containsStrings (Default: []): Remove activities containing user-defined strings. For example, ['plans to watch', 'show-name']. Leave it as an empty array [] if you don't want to use this feature.
  • options:
    • targetLoadCount (Default: 2): Set a positive integer representing the minimum number of activities to display per click on the "Load More" button.
    • caseSensitive (Default: false): Set to true for case-sensitive string removal. Set to false for case-insensitive removal.
    • reverseConditions (Default: false): Set to true to only keep posts that would be removed by the conditions.
    • linkedConditions (Default: []): Groups of conditions to be checked together. Linked conditions are always considered 'true'.
  • 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.