Listen for Events from Browser “Find” Window in JavaScript

前端 未结 3 525
鱼传尺愫
鱼传尺愫 2020-12-21 03:41

Is there a way to listen for typing into the browser\'s \"find\" window in JavaScript?

\"thi

3条回答
  •  时光取名叫无心
    2020-12-21 04:35

    No. There is no web standard that defines a "find" dialog, let alone events for it. The find dialog is vendor-specific and for all you know, browser X's "find" dialog lets users enter a mathematical function and match/"find" pixels on the page with it.

提交回复
热议问题