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

allow lookup when there is already a popup #22

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

gmachine1
Copy link

No longer need to first click to close popup before looking up another word. Tested locally on browser thru webpage https://en.wikipedia.org/wiki/Disquisitiones_Arithmeticae.

@bitsauce
Copy link
Owner

Hi there @gmachine1! Funny that someone found this repo/extension after all these years 🙂

These changes look pretty good! Although, I will need more time to give a proper review if that's desirable. But some immediate thoughts regarding these changes:

  1. Is there a way to get a more complete list of languages to show in the options?
  2. While I do agree that one shouldn't need to have to left-click to look up another word, the extension will need to be able to detect the difference between pressing and releasing <CRTL> + <SHIFT> vs holding <CRTL> + <SHIFT> to prevent dict lookup spam when holding down these buttons

Thanks for the effort!

  • Marcus

@gmachine1
Copy link
Author

Hi there @gmachine1! Funny that someone found this repo/extension after all these years 🙂

These changes look pretty good! Although, I will need more time to give a proper review if that's desirable. But some immediate thoughts regarding these changes:

  1. Is there a way to get a more complete list of languages to show in the options?
  2. While I do agree that one shouldn't need to have to left-click to look up another word, the extension will need to be able to detect the difference between pressing and releasing <CRTL> + <SHIFT> vs holding <CRTL> + <SHIFT> to prevent dict lookup spam when holding down these buttons

Thanks for the effort!

  • Marcus
  1. As for more complete list, let's start with Arabic, Chinese, English, French, Hebrew, German, Italian, Korean, Spanish. How's that? You are also welcome to propose more languages not already included.
  2. I just tried on my browser holding down <CTRL>+<SHIFT> and it works fine. In the case of an existing popup the code closes it before opening another.

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

Successfully merging this pull request may close these issues.

2 participants