Listening for Events from the Find Browser Window in JavaScript

Is there a way to listen to the input in the browser for the Find window in JavaScript?

this window

I would like to be able to interpret search text from JavaScript. Why do I need to add an event listener?

+2
source share
3 answers

I don’t know how you can listen to an event similar to a search query, and if it is supported in any browser, this, of course, is not a portable solution.

, , , - , , / JavaScript. , , ( ) - , (, IE, en-US Ctrl + F ( ), pt-PT Ctrl + L ( Localizar, find)).

: , ...

+3

. - "" , . , , .

+1

. -, "", . , , X "find" / "" .

+1

Source: https://habr.com/ru/post/1607398/


All Articles