ventana
window.onload = function() {
window.onfocus = function() { alert('example'); };
};
Ashamed Aardvark
window.onload = function() {
window.onfocus = function() { alert('example'); };
};