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

(How) Can I add dict.zero-g.net to Firefox' search engines? #34

Open
Taranchul opened this issue Oct 5, 2024 · 4 comments
Open

(How) Can I add dict.zero-g.net to Firefox' search engines? #34

Taranchul opened this issue Oct 5, 2024 · 4 comments
Labels
enhancement New feature or request wishlist Feature request with somewhat lower priority

Comments

@Taranchul
Copy link

Hi,
I'd like to add dict.zero-g.net to the search engines in Firefox, but when I'm on the website, FF doesn't offer to add it to them. How can I do that? (If we can't yet, please treat this as a feature request.)

Thanks for keeping Beolingus alive!

@Taranchul Taranchul added the enhancement New feature or request label Oct 5, 2024
@haukex
Copy link
Owner

haukex commented Oct 10, 2024

Thanks for this suggestion! I will look into how / whether it's possible to add to Firefox's search engines.

I believe @christophfriedrich is using a search keyword (see #31), I don't have the time to test right now but I think it's this feature.

The Mozilla website also describes right-clicking in the search box, but that is something this app doesn't support yet, so I'll look into that too.

@christophfriedrich
Copy link

Yes, I'm using the search keyword and yes, the two links describe exactly this feature. The bookmark I use has the URL https://dict.zero-g.net/#q=%s and I assigned the keyword beo to it, so when I type e.g. beo autumn into my URL bar, it will open the app with the search results for "autumn". You can add this to your bookmarks manually.

Indeed the app doesn't support the easier way to add it via the right-click menu-- I guess that's because it's not an actual form that gets submitted somewhere. I assume if Firefox understands that this field is a search field, it will offer both the keyword option in the right-click menu AND to add it as a search engine?

The screenshot shows what the right-click menu looks like on wikipedia.de -- Interestingly, this doesn't work on google.com 🤔
image

@haukex
Copy link
Owner

haukex commented Oct 11, 2024

Thanks! I can now confirm the instructions I linked to earlier work for me as well with a URL of https://dict.zero-g.net/#q=%s.

I'll look into the other possibilities later. I'm hoping the right click menu shouldn't be too difficult (I hope I just have to wrap the search box in a <form> and perhaps change its ID).

@haukex haukex added the wishlist Feature request with somewhat lower priority label Oct 11, 2024
haukex added a commit that referenced this issue Oct 27, 2024
I hope to eventually address issues #25, #26, and #34 with this.
@haukex
Copy link
Owner

haukex commented Dec 30, 2024

Now that I've implemented #39, I think that solves this issue too, so I think I'll close this issue unless someone objects? Edit: Actually, I'll keep this issue open for now, since I still haven't wrapped the input box in a <form>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wishlist Feature request with somewhat lower priority
Projects
None yet
Development

No branches or pull requests

3 participants