LibreChat Shortcuts + Token Counter

Keyboard Shortcuts for LibreChat

Ini adalah versi dari skrip ini yang kodenya telah diperbarui. Tampilkan semua versi.

  • v3.1.0 19 Juli 2025

    - fixed new chat from triggering side bar
    - fixed so top bar is always single and added buttons to toggle sidebar and start new chat.

  • v3.0.0.2 18 Juli 2025
  • v3.0.0.1 09 Juli 2025
  • v3.0 09 Juli 2025
  • v2.9.9 25 Juni 2025
  • v2.9.8 25 Juni 2025
  • v2.9.7 23 Juni 2025
  • v2.9.5 23 Juni 2025
  • v2.9.4 23 Juni 2025

    added reading mode toggle with alt+;
    added private chat toggle with alt+p

  • v2.9.2 23 Juni 2025

    // Alt+; → Reading mode adjusts width and spacing

  • v2.9.1 02 Juni 2025

    extras

  • v2.9 02 Juni 2025

    various tweaks

  • v2.8.5 10 Mei 2025
  • v2.8.4 10 Mei 2025
  • v2.8.3 05 Mei 2025
  • v2.8.2 28 April 2025
  • v2.8.1 25 April 2025
  • v2.8.1 25 April 2025
  • v2.8 25 April 2025
  • v2.7 25 April 2025
  • v2.6 21 April 2025

    Improved token counter

  • v2.5 12 April 2025

    Alt+c also strips markdown

  • v2.4 10 April 2025
  • v2.3 10 April 2025
  • v2.2 10 April 2025
  • v2.1 10 April 2025

    // === Shortcut Keybindings ===
    // Alt+S → Toggle sidebar (clicks #toggle-left-nav)
    // Alt+N → New chat (clicks button[aria-label="New chat"])
    // Alt+T → Scroll to top of message container
    // Alt+Z → Scroll to bottom of message container
    // Alt+w → Focus Chat Input
    // Alt+c → Click Copy on lowest message
    // Alt+x → Select and copy, cycles visible essages
    // Alt+A → Scroll up one message (.message-render)
    // Alt+F → Scroll down one message (.message-render)
    // Just start typing to go to input chatbox

    // Alt+r → refresh cost for conversation
    // Alt+u → update the token cost per million

  • v2.0 10 April 2025

    // ==UserScript==
    // @name LibreChat Shortcuts + Token Counter
    // @namespace http://tampermonkey.net/
    // @version 2.0
    // @description Press Alt+S to click toggle-left-nav button on localhost:3080
    // @author bwhurd
    // @match http://localhost:3080/*
    // @grant none
    // @run-at document-end
    // ==/UserScript==

    // === Shortcut Keybindings ===
    // Alt+S → Toggle sidebar (clicks #toggle-left-nav)
    // Alt+N → New chat (clicks button[aria-label="New chat"])
    // Alt+T → Scroll to top of message container
    // Alt+Z → Scroll to bottom of message container
    // Alt+w → Focus Chat Input
    // Alt+c → Click Copy on lowest message
    // Alt+x → Select and copy, cycles visible essages
    // Alt+A → Scroll up one message (.message-render)
    // Alt+F → Scroll down one message (.message-render)

    // Alt+r → refresh cost for conversation
    // Alt+u → update the token cost per million

  • v1.9.2 31 Maret 2025
  • v1.9.1 31 Maret 2025
  • v1.9.0 31 Maret 2025
  • v1.8.1 28 Maret 2025
  • v1.8 28 Maret 2025

    override default chrome shortcuts now

  • v1.7 28 Maret 2025

    See description.

  • v1.5 28 Maret 2025

    See description.

  • v1.0 28 Maret 2025

长期地址
遇到问题?请前往 GitHub 提 Issues。