Hallo Leute, benutze das Script "Tooltips.us.js".
Funktioniert soweit auch gut. Nur hat sich ja vor kurzem die Tabvorschau geändert, habe bei mir das Voschaubild abgeschaltet und sehe nur den Tooltip. Nur ist ber leider schwarz mit weisser Schrift. Nun frage ich mich, ob es nicht möglich wäre den Tooltip der Tabvorschau auch in das Script einzubinden, damit ich die Farben und auch die Schriftart ändern kann. Wäre toll, wenn jemand helfen könnte.
Ach ja, hier noch mein benutztes Script:
JavaScript
// Tooltips.us.js
"use strict";
/* Firefox userChrome.js tweaks - 'Custom Tooltips' for Firefox ************************************************************** */
/* Inspired by Mary-J. auf Camp-Firefox.de *********************************************************************************** */
/* https://www.camp-firefox.de/forum/thema/112673/?postID=1223252#post1223252
/* *************************************************************************************************************************** */
/* Customized by Mira********************************************************************************************************* */
/* https://www.camp-firefox.de/forum/thema/112673/?postID=1223348#post1223348 ************************************************ */
/* *************************************************************************************************************************** */
(function() {
if (location.href !== 'chrome://browser/content/browser.xhtml') return;
var css =`
tooltip[label="Add-ons aktualisieren"],
tooltip[label="Anwendungsmenü öffnen"],
tooltip[label="Erweiterungen"],
tooltip[label="Firefox-Startseite"],
tooltip[label="Geschlossenen Tab wiederherstellen"],
tooltip[label="Morning Coffee Quantum"],
tooltip[label="Morning Coffee"],
tooltip[label="MySessions"],
tooltip[label="Neustart (der userChrome.js-Cache wird geleert)"],
tooltip[label="Normalgröße (Strg+0)"],
tooltip[label="uBlock Origin (0)"],
tooltip[label="uBlock Origin (off)"],
tooltip[label="Browser-Werkzeuge"],
tooltip[label="Werkzeuge für Web-Entwickler"],
tooltip[label="Lesezeichenleiste ein-/ausblenden"],
tooltip[label="Verkleinern (Strg+-)"],
tooltip[label="Vergrößern (Strg++)"],
tooltip[label="Verifiziert von: Cloudflare, Inc."],
tooltip[label="Verifiziert von: Starfield Technologies, Inc."],
tooltip[label="Verifiziert von: Let's Encrypt"],
tooltip[label="Verifiziert von: DigiCert Inc"],
tooltip[label^="U"],
tooltip[label^="Q"],
#tabbrowser-tab-tooltip,
#dynamic-shortcut-tooltip,
#back-button-tooltip,
#forward-button-tooltip {
appearance: none !important;
background-color: none !important;
font-family: EurostileExtended.cursive;
font-size: 13px !important;
color: #1E90FF !important;
border: 2px solid #0000CD !important;
border-radius: 4px !important;
box-shadow: none !important;
padding: 5px 7px 5px 7px !important;
width: auto !important;
height: auto !important;
vertical-align: middle !important;
overflow: hidden !important;
}
tooltip[label^="S"] {
appearance: none !important;
background-color: none !important;
font-family: EurostileExtended.cursive;
font-size: 13px !important;
color: #1E90FF !important;
border: 2px solid #0000CD !important;
border-radius: 4px !important;
box-shadow: none !important;
padding: 5px 7px 5px 7px !important;
width: auto !important;
height: auto !important;
vertical-align: middle !important;
overflow: hidden !important;
}
tooltip,
.balloonTooltip {
appearance: none !important;
background-color: #333333CC !important;
font-family: EurostileExtended.cursive;
font-size: 13px !important;
color: #1E90FF !important;
border: 2px solid #0000CD !important;
border-radius: 4px !important;
box-shadow: none !important;
padding: 5px 7px 5px 7px !important;
width: auto !important;
height: auto !important;
vertical-align: middle !important;
overflow: hidden !important;
}
`;
var sss = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService);
var uri = makeURI('data:text/css;charset=UTF=8,' + encodeURIComponent(css));
sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);
})();
Alles anzeigen
Gruß
Michael (mkpcxxl)