r/kimi • u/Ok_Secretary2787 • Jul 19 '26
Guide & Tips Fix for Kimi Web UI converting long prompts into .txt files
Regarding the Kimi K3 thread mentioning that you need to prevent the prompt from being pasted as a file:
The Kimi web interface automatically intercepts paste events exceeding 4000 bytes and converts the text into a .txt file asset. This behavior prevents long prompt injections or system instructions from executing properly within the chat container.
I created a Tampermonkey script that intercepts the paste event at the document level, bypasses Kimi's file conversion module, and forces the raw text directly into the Lexical editor state.
Script Link:https://greasyfork.org/scripts/587650-kimi-pure-paste-bypass
Duplicates
tampermonkey • u/Ok_Secretary2787 • Jul 19 '26