Answer the question
In order to leave comments, you need to log in
How to programmatically (JavaScript, css) disable quick search in Firefox9?
Good time of the day!
When implementing an application on html5 + canvas, I needed to intercept keyboard keypress events and store them inside the application. However, in Firefox, if quick search is enabled, clicks are intercepted by quick search.
How to programmatically (JavaScript, css) disable quick search in Firefox9 for a website page?
Thank you.
Answer the question
In order to leave comments, you need to log in
If in a function (I have it onKeypress) make a call to event.preventDefault();
then Firefox quick search is not called
I don't think so. Application hotkeys, logically, should be prioritized over any open pages there.
Like this:
$(document).keypress(onKeypress);
And if the fast user option is not enabled, then everything works fine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question