Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: be able to keep the extension open when clicking outside field #1

Open
JakobRobijns opened this issue Dec 6, 2022 · 3 comments

Comments

@JakobRobijns
Copy link

When opening the prompt and clicking somewhere else (by accident or to copy/paste) it would be nice to have an option to keep it open until explicitly closed.

@itai11
Copy link

itai11 commented Dec 6, 2022

And/Or persisting the frame when leaving it / closing it.

@kazuki-sf
Copy link
Owner

Thanks for the suggestion, Jakob and Itai!
It's a little bit tricky to persist the frame but let me check!

@ziogas
Copy link

ziogas commented Dec 13, 2022

Love the simplicity of the extension and the fact it's open-source!

Based on my experience with building Chrome extensions, I think the quickest thing for you would be to open it in a popup mode (like calling window.open()).

Then, you could use Chrome Windows API to resize:

  1. main chrome window, reducing its width by 300px;
  2. this new popup window to have 300px width + full height and place to the top right.

That way, people could surf the web, and history would be saved without your additional coding effort, preserving the extension's simplicity.

Just my 2 cents that it would be great to have the current behavior, too, as sometimes it's a lot faster to open it quickly for one time. Especially if you're adding a keyboard shortcut. So maybe this new functionality could be triggered on a right click?

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants