LMArena | Model Manager: Pin, Reorder & Persistent Auto-Select

Pin favorite models to the top of the model selection dropdown with persistent memory

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
piknockyou
日安装量
1
总安装量
2
评分
0 0 0
版本
1.43
创建于
2025-12-30
更新于
2025-12-30
大小
52.7 KB
许可证
AGPL-3.0
适用于

See screenshots at the bottom

LMArena | Model Manager: Pin, Reorder & Persistent Auto-Select

Upgrades LMArena’s model picker so you can pin favorite models to the top, drag-reorder pinned models, and automatically re-select your last used model (persistently), with separate memory per Chat / Search / Image / Code modes.

Why You Need This

Switching models in LMArena gets annoying fast:

  • Your go-to models get buried in a long dropdown.
  • You keep re-selecting the same model every time you open a new chat or navigate.
  • Different modalities need different “default” models (Chat vs Search vs Image vs Code).

This script makes the model picker feel like it has “favorites + a real default.”

Key Features

  • Pin Models to the Top: One-click pin icon on each model to keep favorites always at the top.
  • Drag to Reorder Pinned Models: Pinned models gain a subtle grip handle (on hover) for drag-and-drop reordering.
  • Mode-Aware Memory (Chat/Search/Image/Code):
    • Pins are stored separately per modality.
    • “Last selected model” is also stored per modality, so each mode can have its own default.
  • Persistent Auto-Select Last Model:
    • Adds an in-dropdown row: “Auto-select last chosen model” with a checkbox toggle.
    • When enabled, it automatically selects your saved model when appropriate.
  • No Dropdown Flash During Auto-Restore:
    • Uses a temporary invisible “mask” while it opens/selects/closes the dropdown so you don’t see it flicker.
  • Better Dropdown Usability:
    • Removes name truncation (so long model names stay readable).
    • Forces a high z-index and tall max-height so the menu is more usable.
  • SPA-Safe Selection Enforcement:
    • After navigation, it can briefly “enforce” your saved model if LMArena tries to overwrite it a moment later.

How to Use

Action Result
Open the model dropdown You’ll see pin + (for pinned) reorder controls on items
Click the pin icon Pin/unpin a model
Hover a pinned model, drag the grip Reorder pinned models
Toggle Auto-select last chosen model checkbox Enable/disable auto-restore for the current modality
Select a model normally Saves it as the “last selected” for this modality

Behavior Details

  • Pins are scoped by modality (e.g. Chat pins don’t affect Image pins).
  • Auto-restore is scoped by modality and defaults to enabled unless you turn it off for that mode.
  • If your saved model doesn’t exist in the current mode, auto-restore backs off instead of looping.

Performance Notes

  • Only “enhances” the UI when the Radix/cmdk dropdown is present, using MutationObserver + small debouncing.
  • Uses pointer-event drag (not HTML5 drag-and-drop) for a smoother reorder experience.
  • Caches mode/modality detection and invalidates it on SPA navigation.

Installation

  1. Install Violentmonkey / Tampermonkey.
  2. Install this userscript.
  3. Visit lmarena.ai and open the model picker.