1. Home
  2. News
  3. Download
    1. Thunderbird Release Version
    2. Thunderbird 140 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
    4. Last Changes
  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

Buttons zum Öffnen von chrome/ugs_css bzw chrome/ugs_js

    • 115 ESR
    • Windows
  • Harff182
  • November 25, 2023 at 2:58 PM
  • Closed
  • Thread is Unresolved
  • Harff182
    Member
    Reactions Received
    6
    Posts
    89
    Member since
    20. Jun. 2015
    • November 25, 2023 at 2:58 PM
    • #1

    TB: 115.5.0

    OS: Win 11

    Tach zusammen...

    Ich hab mit nachfolgendem Script einen Button zum Öffnen des Chrome-Ordners erstellt:

    JavaScript
     //    04_TB_openchromefolder_button.uc.js
    //     Chromeordner per Button öffnen
    //
    //    https://github.com/Endor8/userChrome.js/blob/master/Thunderbird/Thunderbird%20-%20Release%20115/Chrome-ordner-%C3%B6ffnen.uc.js
    //
    //    231106:    harff182    berechneter Pfad zum icon
    //        
            
    (function() {
    
        if (location != 'chrome://messenger/content/messenger.xhtml') return;
        var toolbarbutton = document.createXULElement('toolbarbutton');
    
        var currentProfileDirectory = Services.dirsvc.get("ProfD", Ci.nsIFile).path.replace(/\\/g, "/");
        var buttonicon = "profilfolder.gif"        
           
        var props = {
                id: 'chromefolder-ToolBarButton',
                class: 'toolbarbutton-1',
                label: 'Chrome',
                tooltiptext: 'Chromeordner öffnen',
                style: 'list-style-image: url("' + ("file:" + currentProfileDirectory + "/chrome/icons/" + buttonicon) + '");',
                onclick: 'if (event.button == 0) { \
                    Services.dirsvc.get("UChrm", Ci.nsIFile).launch(); \
                    }; '
        };
    
        for (var p in props) toolbarbutton.setAttribute(p, props[p]);
    
        var position = document.getElementById('tabmail-arrowscrollbox');    
        position.parentNode.insertBefore(toolbarbutton, position.nextSibling);
    })();
    Display More

    Nun möchte ich 2 zusätzliche Buttons für chrome/ugs_css und chrome/ugs_js.

    Bin aber als js-Dummy ZuDummZumZum ;(

    Mag mir wer auf die Sprünge helfen?

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

  • Community-Bot November 25, 2024 at 4:30 AM

    Closed the thread.

Current app version

  • Thunderbird 152.0.1 veröffentlicht

    Thunder July 4, 2026 at 1:02 PM

Current 140 ESR version

  • Thunderbird 140.12.1 ESR veröffentlicht

    Thunder July 4, 2026 at 1:05 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

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-2026 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™