each browser has find on page functionality (ctrl+F). Is there a way to detect user searches in javascript so that I could attach additional actions.
As initially suggested by @Nicola Peluchetti, here is a slightly improved version by feature sniffing:
window.onkeydown = function(e){ var ck = e.keyCode ? e.keyCode : e.which; if(e.ctrlKey && ck == 70){ alert('Searching...'); } }
Browser search test case »