masachika-kamada / ChatGPT-Ctrl-Enter-Sender

ChatGPT用Chrome拡張機能
https://chrome.google.com/webstore/detail/chatgpt-ctrl%20enter-sender/gbncgdhklmnckojlibfhdadpfbcdbnch
49 stars 15 forks source link

not working On chat.openai.com when the browser window is snapped to left/right. #31

Closed Amritanshu1912 closed 6 months ago

Amritanshu1912 commented 8 months ago

Please provide us with the following information:

This issue is a: (mark with an x)

Issue description

A clear and concise description of the observed issue.

It functioned correctly when the Chrome browser window was maximized. However, the issue arose when I snapped the window to the right, creating space for another browser window on the left. Ctrl+Enter was not effective; it failed to send messages. On the other hand, the Enter key operated as expected, creating new lines.

Steps to reproduce

  1. Install the extension in Chrome.
  2. Snap the Chrome browser window to the left, right, or a corner (split the window into four sections).
  3. Type a message and press Ctrl+Enter.

Expected behavior [What you expected to happen.] expected to msg to send

Actual behavior [What actually happened.] it didnt do anything

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context

Using the Chrome browser on Windows.

Amritanshu1912 commented 8 months ago

Raised PR to fix this issue

LeeHaEun1 commented 6 months ago

Has this issue been resolved? I am experiencing the same problem.

Amritanshu1912 commented 6 months ago

My solution has a small issue in @masachika-kamada's configuration, preventing him from merging it at the moment. However, the fix suits my needs well. To address this, I developed a Tampermonkey script. Using Tampermonkey allows me to utilize additional scripts like "wider-chat-box" and "chatgpt-softTone" without requiring separate extensions for each on a single website. Notably, the Tampermonkey script for the Ctrl+Enter sender also functions seamlessly on five other websites.