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 : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
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