This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Service-Worker feuert nicht immer
#11
Läuft erstmal soweit das kein Fehler mehr kommt.

Habe aber ein Problem festgestellt, das manchmal nix passiert. Aber wirklich nix. Muss das Addon mehrmals aktualisieren bzw. neu starten das der ServiceWorkler wieder das macht, was er machen sollte. Lt. Beschreibung ist er nicht inaktiv, verhält sich aber so.

Habe mal zum testen diesen Code eingefügt, wo eigentlich immer beim Tab wechsel die ID ausgeworfen werden sollte. Aber wie gesagt, es passiert nichts, auch kein Fehler.
chrome.tabs.onActivated.addListener(function(activeInfo) {
	console.log("activeTab ID: "+activeInfo.tabId);
	TABID=activeInfo.tabId;
});

Habe auch noch nicht feststellen können wann dieses Problem auftaucht. Ob es erst dazu kommt, wenn ich ne gewisse Zeit nicht am Rechner war, keine Anhung.
Als Lösung markieren Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste