Coder Social home page Coder Social logo

Comments (6)

tdulcet avatar tdulcet commented on July 30, 2024 2

In my case I could report this as a bug to Firefox, since I already entered a keyword (for a search engine).

Yeah, I would agree that this is a Firefox bug, as users should not be able to use multiple keywords at once. Please do report it to them if you can.

the keyword that triggers the search needs to be statically defined

See bug 1375453 for allowing the user to change the keyword. There are actually a lot of known issues with this feature, including that it does not work in private windows (bug 1779400) and it can only show a fixed number of suggestions (bug 1375252).

from awesome-emoji-picker.

Exagone313 avatar Exagone313 commented on July 30, 2024 2

I just created it: https://bugzilla.mozilla.org/show_bug.cgi?id=1796788

from awesome-emoji-picker.

rugk avatar rugk commented on July 30, 2024 1

Yeah, I would also have liked that. Unfortunately, the keyword that triggers the search needs to be statically defined. See:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Omnibox#specifying_the_omnibox_customization

In our case, it is emoji:

"keyword": "emoji"

I also doubt Mozilla will change this, as dynamically changing the keyword could be abused to intercept (all) search queries
(e.g. changing it to each letter of the alphabet or so).

So unfortunately, I have to say this issue is blocked, and I cannot really do anything here.

Alternative solutions

    • Use a less common keyword, which would less likely to be a problem in "usual search" when disabled.
      Problems: Would break existing user workflows and if the feature is desired a common keyword is really useful. (Given that if you just have to think about the keyword you need to enter it is possibly faster to use a real web search or so.)

from awesome-emoji-picker.

Exagone313 avatar Exagone313 commented on July 30, 2024

@rugk In my case I could report this as a bug to Firefox, since I already entered a keyword (for a search engine). Though since they introduced search keyword being displayed differently than bookmark and add-on keywords, there is a difference in behavior. I'll need to make more tests before reporting.

Also I have keyword.enabled=false, it may be responsible to this behavior (it is not fully supported).

I don't mind hacking my own Firefox for my own usage, I have experience on (and the CPU/memory for) building Firefox.

from awesome-emoji-picker.

rugk avatar rugk commented on July 30, 2024

Yeah, I would agree that this is a Firefox bug, as users should not be able to use multiple keywords at once. Please do report it to them if you can.

Did you find the time to do this, @Exagone313? I totally agree, multiple keywords is not really useful/should not be possible.

from awesome-emoji-picker.

Exagone313 avatar Exagone313 commented on July 30, 2024

Did you find the time to do this, @Exagone313?

I didn't, but thanks for reminding me. 😅

from awesome-emoji-picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.