Restore C.AI Arrow Key Swipes

relty
2026-03-07T22:48:34Z

Bring back the left and right arrow key swipes for C.AI Messages.

Character.AI Arrow Key Swipe Restore

Character.AI used to let you swipe between generated responses with the
left and right arrow keys on desktop. That behavior is gone on the current UI for some reason.
SO, since I'm lazy and petty I wrote this userscript to bring it back!

What It Does

Press Left Arrow to swipe to the previous generated response.

Press Right Arrow to swipe to the next generated response.

Doesn't hijack the arrow keys in different focus scopes.

Works on the current C.AI site and includes a fallback for older layouts.

How It Works

The script watches for left and right arrow key presses, looks for the visible
Back and Next controls in the chat's UI,
and simulates pressing them for you. If those controls are missing or not found by the script, it can fall back to
emulating the swipe gesture on the latest AI message.

Why This Exists

Since C.AI decided to be a little bitch and no longer
exposes the old desktop keyboard shortcut, this script restores that missing input path.

Usage

1. Install the script in Violentmonkey, Tampermonkey, or another userscript manager.

2. Open any C.AI chat of your choice.

3. Press Left Arrow or Right Arrow while focused on the main page (not in a text field and such) to swipe between messages.

Notes

The script prefers real page controls first because that is the most reliable path.

You may notice a console warning about onClick and onPress to which I say just ignore it because it still works and I can't be bothered lmao.

If C.AI changes its UI layout, the script might break I dunno.

Compatibility

https://character.ai/*

https://*.character.ai/*

https://old.character.ai/*

this shit only works on PC, if you couldn't tell.

Changelog

1.0.1 - Cleaned up metadata, removed unused config, and improved in-file documentation.

1.0.0 - Initial release.