S
S
Sergey Burduzha2017-09-28 08:06:21
JavaScript
Sergey Burduzha, 2017-09-28 08:06:21

How to use yandex as a search engine in firefox?

Rummaged in the settings, I do not have yandex as a search engine. There is a ton of information on the Internet how to add yandex through about: conf, but apparently the information is outdated and does not work.
Help me solve this problem, I don’t want to use Google, it’s too stupid, favicons don’t show up and requests don’t open in a new tab, in short, I’m used to Yandex.
I would be grateful for help.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dima Polos, 2019-06-17
@daydon

There is a set of events for working with input fields:
1. focus - the user put focus on the input field.
2. blur - the user removed the focus from the water element.
3. input - the user somehow entered something. This is better than keyup, because there is no need to check the keyCode, the second is because the user can insert text into the field, what will happen to your keyUp then? The input event fires every time the user makes a change to the input field.
4. change - the user entered data and removed the focus from the input field, that is, this is input + blur. The event does not occur as often as input, but it does not force the value to be checked for changes, as blur would have to do.
5. submit - fires on the entire form, when you try to send data, in this task it is rather an uninteresting event.
For live search, it is logical to use input, by which you need to send the current value via ajax to the server and then print the answer somewhere. The question is different, because the event fires quite often, and someone is typing so fast that the request-response will not have time, so it is logical to debounce here with a delay of about 300ms, so that sending / receiving will work when the user has slowed down in typing or in general stopped input.

R
r_mustang, 2019-06-17
@r_mustang

Debounce is a good solution
An article that will help you figure it out

A
ArrayPop, 2019-09-21
@ArrayPop

Old but good
jquery.page2page.ru/index.php5/%D0%90%D0%B2%D1%82%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question