Greasy Fork is available in English.

osu beatmap filter

Filter beatmap by favorites (osu! website only)

نووسەر
Oscar0159
Daily installs
0
Total installs
9
Ratings
0 0 0
وەشان
1.1.1
Created
2022-03-23
Updated
2023-11-07
مۆڵەت
MIT
Applies to

OSU Beatmap Filter

Description

Filter beatmap by favorites

Notice

  • This script is only for osu beatmap page
  • This script only supports new osu website
  • This script only supports English & Traditional Chinese

Usage

  1. Install a user script manager
  2. Install osu beatmap filter
  3. Open osu beatmap page

Optional

  • You can change the default filter value by editing the script
const options = {
  // global options
  global: {
    // enable animation
    animation: {
      // enable [true/false]
      enable: true,
      // duration [ms]
      duration: 700,
    },
    // filter method [threshold, percentile]
    filterMethod: "percentile",
    // compare method [less, lessEqual, greater, greaterEqual]
    compareMethod: "lessEqual",
    // opacity of filtered beatmap [0~1]
    opacity: 0.15,
  },
  // favorites filter
  favorites: {
    // threshold of favorite count
    threshold: 100,
    // percentile of favorite count
    percentile: 75,
  },
};

Screenshot

screenshot screenshot


OSU 圖譜過濾器

說明

根據收藏數量過濾圖譜

注意事項

  • 本腳本只支援osu 圖譜頁面
  • 本腳本只支援新版 osu 網站
  • 本腳本只支援英文與繁體中文

使用方法

  1. 安裝 使用者腳本管理器
  2. 安裝 osu 圖譜過濾器
  3. 開啟 osu 圖譜頁面

可選項目

  • 你可以透過編輯腳本來更改預設過濾值
const options = {
  // (全域選項)
  global: {
    // (啟用動畫)
    animation: {
      // enable (啟用)
      enable: true,
      // (持續時間 [毫秒])
      duration: 700,
    },
    // (過濾方法 [門檻, 百分位數])
    filterMethod: "percentile",
    // (比較方法 [小於, 小於等於, 大於, 大於等於])
    compareMethod: "lessEqual",
    // (過濾後的 beatmap 透明度 [0~1])
    opacity: 0.15,
  },
  // (收藏數過濾)
  favorites: {
    // (收藏數門檻)
    threshold: 100,
    // (收藏數百分位數)
    percentile: 75,
  },
};

截圖

同上