I’m using an onLoad event on a Firefox extension to detect each time a page is loaded and display a Javascript alert (first example on https://developer.mozilla.org/en/Code_snippets/On_page_load).
I realized it doesn’t work well with Google search engine (i.e. If you change your keyword and display a new search there isn’t a new Javascript alert displayed).
Does someone know how to make the alert appear each you type one or several keyworks and press “Enter” or click on “Search” ?
A simple solution is to use the event “change” in the event listener !