Commit 437b2d53 authored by nextime's avatar nextime

Fix JavaScript regex escaping and improve Enter key submission

- Fixed JavaScript regex patterns by properly escaping requestId with replace() method
- Added proper regex escaping to prevent 'Invalid or unexpected token' errors
- Simplified regex patterns to use only two main patterns instead of four complex ones
- Enhanced Enter key submission with proper focus timing and delays
- Added 0.5 second delays before and after Enter key press for better reliability
- Ensures proper input focus before sending Enter key for Gemini chatbot
parent 9ae958d3
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment