1. Home
  2. News
  3. Download
    1. Thunderbird Release Version
    2. Thunderbird 128 ESR
    3. Thunderbird 115 ESR
    4. Thunderbird Beta Version
    5. Language Pack (User Interface)
    6. Dictionaries (Spell Check)
  4. Help & Lexicon
    1. Instructions for Thunderbird
    2. Questions & Answers (FAQ) about Thunderbird
    3. Help for this Website
  5. Forums
    1. Unresolved Threads
    2. Latest Posts
    3. Threads of the last 24 hours
  • Login
  • Register
  • 
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Forum
  • Lexicon
  • Articles
  • Pages
  • More Options
  1. Thunderbird Mail DE
  2. Forum
  3. Hilfe zu Add-ons und manuellen Anpassungen
  4. Manuelle Anpassungen per CSS oder Script

Script funktioniert nicht mehr

    • 102.*
    • Windows
  • hwww
  • September 21, 2022 at 8:20 AM
  • Closed
  • Thread is Resolved
  • hwww
    Member
    Reactions Received
    2
    Posts
    134
    Member since
    3. Aug. 2012
    • September 21, 2022 at 8:20 AM
    • #1

    Version: 102.3.0

    Windows Home 64bit 21H22

    Hallo

    Ich musste Windows vor einer Woche neu installieren und somit auch Thunderbird. Nun läuft fast alles wieder. Nur in Thunderbird (ich hatte das alte Profil übernommen) funktioniert ein Script nicht mehr. Das hier "statusbaruhr.uc.js" . Ich weiß das im Installationsordner noch was eingetragen werden muss aber was? Ich finde einfach nicht mehr den Hinweis was da reingehört damit Scripte funktionieren. Kann mir jemand da weiter helfen?

    Besten Dank schon mal hwww

    CSS
    /***** statusbaruhr.uc.js *****/
    
    (function() {
        function doDatClock() {
            var timestr = new Date().toLocaleDateString( locale , options );
            
            const blanks = '     ';
            let i = timestr.lastIndexOf(',');
            timestr = timestr.substring(0,i) + blanks + timestr.substring(i+1);
            
            if( count == 1 ) {
                var counter = new Date( 1000 * sec ).toISOString().substr( 11 , 8 ); // .replace(/^[0:]+/, '') // if you want to replace zeroes and colons
                timestr = timestr + '       (' + counter + ')';
                sec++;
            }
            ClockLabel.setAttribute( 'value', timestr );
        }
    
        var count = 1; // if you don't want a counter set this to zero
        var agent = 1; // if you just want the clock set this to zero
        var language = 'de-DE'; // locale, e.g. 'de-DE' , 'en-US' , 'fr-FR'
        var personalText = ''; // your personal text here
        var cssColor = 'black'; // Font Color
    
        var css = 'margin-left: 30px; padding-top: 4px !important; padding-left: 0px; color: ' + cssColor + '; font-weight: 600; text-shadow: none; width: 275px;';
        var cssA = 'margin-left: 70px; width: auto;';
    
        var options = {
            weekday: 'long',
            year: 'numeric',
            month: 'long',
            day: 'numeric',
                       hour: '2-digit',
            minute: '2-digit',
            second: '2-digit'
        };
    
        var sec = 0;
    
        var locale = language || window.navigator.languages[0];
    
        var position = document.getElementById('helpMenu');
    
        var ClockLabel = document.createXULElement('label');
        ClockLabel.setAttribute('id', 'statusbar-clock-display');
        ClockLabel.setAttribute('class', 'statusbarpanel-text');
        ClockLabel.setAttribute('style', css);
        position.parentNode.insertBefore(ClockLabel, position.nextSibling);
    
        if( agent == 1 ) {
            var AgentLabel = document.createXULElement('label');
            AgentLabel.setAttribute('id', 'statusbar-agent-display');
            AgentLabel.setAttribute('class', 'statusbarpanel-text');
            AgentLabel.setAttribute('style', css + cssA);
            var FFstr = window.navigator.userAgent.split(' ');
            var FF = FFstr[FFstr.length-1].replace( '/' , ' ' );
            var text  = " Thunderbird - Standard  Profile  " + AppConstants.MOZ_APP_VERSION_DISPLAY;
            AgentLabel.setAttribute( 'value', text );
            position.parentNode.insertBefore(AgentLabel, position.nextSibling);
        }
    
        if( count == 1 ) {
            ClockLabel.addEventListener('dblclick', function() { sec = 0; });
        }
    
        window.setInterval( doDatClock , 1000 );
    })();
    Display More

    Thunderbird 138.0.1 64bit

  • Harff182
    Member
    Reactions Received
    6
    Posts
    89
    Member since
    20. Jun. 2015
    • September 21, 2022 at 11:03 AM
    • #2
    Quote from hwww

    Kann mir jemand da weiter helfen?

    Thread

    Anpassung per userChromeJS (per Script) - ab Version 60+

    Diese Anleitung betrifft nur das Anpassen des Thunderbird ab Version 60 über Scripts.

    Als Grundlage dient die aktuelle Beschreibung "userChrome Verwendung ab Firefox 57 und neuer", die nahezu eins-zu-eins in Thunderbird übernommen werden kann.

    Haltet Euch an die genannte (und verlinkte) Anleitung für Firefox und macht dabei folgendes für Thunderbird anders:

    • Die Datei config.js muss in den Thunderbird-Installationsordner (statt Firefox-Installationsordner)
    • Der Ordner userChromeJS muss auch in den
    …
    edvoldi
    August 26, 2018 at 12:11 PM

    W11 Home 64bit - TB 128.x (64-Bit) Portable

  • hwww
    Member
    Reactions Received
    2
    Posts
    134
    Member since
    3. Aug. 2012
    • September 21, 2022 at 1:35 PM
    • #3

    Besten Dank Harff182

    Genau das war es was fehlte. Funktioniert wieder.

    Schöne Woche noch für dich hwww

    Thunderbird 138.0.1 64bit

  • Community-Bot September 3, 2024 at 8:50 PM

    Closed the thread.

Current app version

  • Thunderbird 138.0.2 veröffentlicht

    Thunder May 20, 2025 at 4:44 PM

Current ESR version

  • Thunderbird 128.10.2 ESR veröffentlicht

    Thunder May 20, 2025 at 8:27 PM

No Advertisements

There are no advertisements here. Maybe you give the website owner (Alexander Ihrig - aka "Thunder") instead something to be able to finance these sites in the long run. Many Thanks!

Thank you for the support!

Coffee to be spent?

Donate now via Paypal*

*Forwarding to PayPal.Me

Similar Threads

  • Versand Einladungen Termine funktioniert nicht mehr

    • connec
    • November 12, 2021 at 12:32 PM
    • Kalender, Termin- und Aufgabenverwaltung (ehemals Lightning)
  • Adressbuch funktioniert nach Update nicht mehr

    • simcoe
    • September 10, 2022 at 12:25 PM
    • Adressbuch
  • Suche nach Inhalten funktioniert nicht mehr

    • pezi
    • December 4, 2021 at 2:13 PM
    • Allgemeines Arbeiten / Konten einrichten / Installation & Update
  • Kalender funktioniert nicht mehr

    • schnecke61
    • August 22, 2021 at 7:37 AM
    • Kalender, Termin- und Aufgabenverwaltung (ehemals Lightning)
  • Der Kalender funktioniert nicht mehr

    • schnecke61
    • August 21, 2021 at 6:21 PM
    • Kalender, Termin- und Aufgabenverwaltung (ehemals Lightning)
  • Kalender funktioniert nicht mehr

    • Mischmisch
    • June 26, 2021 at 5:51 PM
    • Kalender, Termin- und Aufgabenverwaltung (ehemals Lightning)
Thunderbird Mail DE
  1. Imprint & Contact
  2. Privacy Policy
    1. Cookie Policy
  3. Terms of Use
  4. Donation Call for Thunderbird
Help for this website
  • All website support articles
  • How to use website search
  • How to create a forums user account
  • How to create and edit a forums thread
  • How to reset your forums password
Copyright © 2003-2025 Thunderbird Mail DE

You are NOT on an official page of the Mozilla Foundation. Mozilla®, mozilla.org®, Firefox®, Thunderbird™, Bugzilla™, Sunbird®, Seamonkey®, XUL™ and the Thunderbird logo are (among others) registered trademarks of the Mozilla Foundation.

Powered by WoltLab Suite™