- Firefox-Version
 - Firefox 136 Nightly
 - Betriebssystem
 - Windows 10
 
Folgendes Script erzeugt in der Browser-Konsole einige Fehler:
CSS
		
					
					/* Uhr in Nav-Bar */
	
function doDatUhrCallback() {try{doDatUhr();}catch(ex){} }
 function convertUTCDateToLocalDate(date) {
  var newDate = new Date(date.getTime() + date.getTimezoneOffset() * 60 * 1000);
  var offset = date.getTimezoneOffset() / 60;
  var hours = date.getHours();
  newDate.setHours(hours - offset);
  return newDate;
}
 function doDatUhr() {
 var days = ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"];
 var months = ["Jan", "Feb", "März", "Apr", "Mai", "Juni", "Juli", "Aug", "Sep", "Okt", "Nov", "Dez"];
 window.setTimeout(doDatUhrCallback, 1000);
	        var D = new Date();
            var day = days[D.getDay()];
            var month = months[D.getMonth()];
            var year = D.getFullYear();
            var hour = D.getHours();
            var minute = D.getMinutes();
            var second = D.getSeconds();
            var date = day + ", " + (D.getDate() < 10 ? "0" +D.getDate() : D.getDate()) + ". " + month + ". " + year + " ";
            var time = (hour < 10 ? "0" +hour : hour) + ":" + (minute < 10 ? "0" +minute : minute) + ":" + (second < 10 ? "0" +second : second);
            var timestr = date + time + " Uhr" + " ";
			var text = " Nightly 64 ";
            var status = document.getElementById("statusbar-clock-display");
            status.setAttribute("value", text + timestr);
			if (hours < 6 || hours > 20) {
			status.setAttribute("style", "color: white");
			}
			else {
			status.setAttribute("style", "color: white");
			}
			status.setAttribute("style", clockstyle);
			}
            var ClockStatus = document.getElementById("urlbar-container");
            var ClockLabel = document.createXULElement("label");
            ClockLabel.setAttribute("id", "statusbar-clock-display");
            ClockLabel.setAttribute("class", "statusbarpanel-text");
            ClockLabel.setAttribute("style", "padding-top:3px!important;font-size:19px;font-weight:bold;color:white!important;");
            ClockStatus.parentNode.insertBefore(ClockLabel, ClockStatus.nextSibling);
            doDatUhr();
	
			Alles anzeigen
	Ich habe eine lange Liste von teils neu geschriebenen Scripts, die ähnliche Fehler hervorrufen. Muss ggf. die genannte Datei utilities.js im userChromeJS Ordner des Programmordners geändert werden?