I have this script running at the end of the document loading:
$(function () {
$("input").keydown();
});
The script is in a chrome-extension that run on each page the user loads and doesn't work (i.e. on twitter website). However, if the same script is executed on the chrome javascript console it work perfectly.
Do you have any clue about how to trigger this event from the script?