Détecter une fonction qui se lance 'onload'
	
	
		Bonjour,
Je travaille sur une extension firefox et je cherche à détecter si un bandeau s'affiche au chargement d'une page web (site web d'un réseau social)
Voici comment le bandeau est affiché
	Code:
	
| 12
 3
 4
 5
 6
 7
 8
 9
 10
 
 | function showFlashNotice() {
	var notification = (new InfoNotification());
	notification.setMessage("message.....");
	notification.show();
}
if (window.attachEvent) {
 	window.attachEvent('onload', showFlashNotice)
} else {
	 window.addEventListener('load', showFlashNotice, false);
} | 
 Comment peut-on détecter si la fonction showFlashNotice s'exécute?
Merci d'avance