LibreChat Shortcuts + Token Counter

Keyboard Shortcuts for LibreChat

To są wersje tego skryptu, gdzie kod został zaktualizowany. Pokaż wszystkie wersje.

  • v3.1.0 19-07-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-07-2025
  • v3.0.0.1 09-07-2025
  • v3.0 09-07-2025
  • v2.9.9 25-06-2025
  • v2.9.8 25-06-2025
  • v2.9.7 23-06-2025
  • v2.9.5 23-06-2025
  • v2.9.4 23-06-2025

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

  • v2.9.2 23-06-2025

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

  • v2.9.1 02-06-2025

    extras

  • v2.9 02-06-2025

    various tweaks

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

    Improved token counter

  • v2.5 12-04-2025

    Alt+c also strips markdown

  • v2.4 10-04-2025
  • v2.3 10-04-2025
  • v2.2 10-04-2025
  • v2.1 10-04-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-04-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-03-2025
  • v1.9.1 31-03-2025
  • v1.9.0 31-03-2025
  • v1.8.1 28-03-2025
  • v1.8 28-03-2025

    override default chrome shortcuts now

  • v1.7 28-03-2025

    See description.

  • v1.5 28-03-2025

    See description.

  • v1.0 28-03-2025

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