dem CSS für den UserStyles-Button Kontext:
Das sollte sich dann mal jemand bitte ansehen, der das nutzt.
Ich mache einen neuen Thread
dem CSS für den UserStyles-Button Kontext:
Das sollte sich dann mal jemand bitte ansehen, der das nutzt.
Ich mache einen neuen Thread
Musste leider arbeiten.....
Das sieht sehr gut aus.... Vielen Dank!
...allerdings habe ich jetzt ein Problem in dem CSS für den UserStyles-Button Kontext:
/* UserStyles Loader Button */
#usercssloader-menu {
margin-right: 0 !important;
margin-left: 0 !important;
content: '' !important;
display: block !important;
width: 15px !important;
height: 20px !important;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAABRUlEQVQ4jaXSLW/CUBTG8YdMTmxijiY1M62A8w2omZ1jlhA0mC6ZJTiSKewsDgesohgICWLjQ0DCkvJOPeGZGG3Xji50O8kvueeKv7kX+JorAFkAuRh3AATADYALnJjsfD5nHMuySJKFQuHxGElFA7nFYsE4XoAkdV1/AHAdjeRWqxXjtNttfp9MJnMP4DIUWK/XjDMYDBgdALehwHa7ZZzpdMrhcMhut0vbtmnbNgEYocBut2MSx9cJAq7rMokgYI6ZMt/+BOaYgDnmy7vr8+ac3Q80RhuWOw5JstxxfL/tjdEmCNT7SxZbM5JksTULid55e72/DALVnsN8c0KSzDcnP0TvSbLac4LA0+uHz5vo+dTuB/7F+wf7/Z5J+P9ARAxFUSqHw4FJKIpSEREDImJomlZSVbWWTqefz6Gqak3TtJKIGJ86u+Qm3Nb2fAAAAABJRU5ErkJggg==") !important;
background-repeat: no-repeat !important;
background-position: -1px 6px !important;
background-size: 15px 15px !important;
}
#usercssloader-menu > .menu-text,
#usercssloader-menu > .menu-right {
display: none !important;
}
#usercssloader-menu:hover {
margin-right: 0 !important;
margin-left: 0 !important;
content: '' !important;
display: block !important;
width: 15px !important;
height: 20px !important;
background: lightgrey !important;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAABRUlEQVQ4jaXSLW/CUBTG8YdMTmxijiY1M62A8w2omZ1jlhA0mC6ZJTiSKewsDgesohgICWLjQ0DCkvJOPeGZGG3Xji50O8kvueeKv7kX+JorAFkAuRh3AATADYALnJjsfD5nHMuySJKFQuHxGElFA7nFYsE4XoAkdV1/AHAdjeRWqxXjtNttfp9MJnMP4DIUWK/XjDMYDBgdALehwHa7ZZzpdMrhcMhut0vbtmnbNgEYocBut2MSx9cJAq7rMokgYI6ZMt/+BOaYgDnmy7vr8+ac3Q80RhuWOw5JstxxfL/tjdEmCNT7SxZbM5JksTULid55e72/DALVnsN8c0KSzDcnP0TvSbLac4LA0+uHz5vo+dTuB/7F+wf7/Z5J+P9ARAxFUSqHw4FJKIpSEREDImJomlZSVbWWTqefz6Gqak3TtJKIGJ86u+Qm3Nb2fAAAAABJRU5ErkJggg==") !important;
background-repeat: no-repeat !important;
background-position: -1px 6px !important;
background-size: 15px 15px !important;
}
#usercssloader-menu > .menu-text,
#usercssloader-menu > .menu-right {
display: none !important;
}
Alles anzeigen
Könnte man hier den Abstand verkleinern?
Ggf. in einen neuen Thread auslagern!?
LG
Boersenfeger
Das Edit hast du noch gelesen?
Ich weiss nicht, wie ich es besser erklären soll...
hier ein Screenshot vom Nightly
Was kann daran Schuld sein?
Im Firefox 107.0 sieht es so aus...
Edit:
Ich habe diesen Code als Auslöser identifiziert:
/***** POPUP und KONTEXT Menus ******/
/* Hintergrund/Umrandung/Ausrichtung - aller Popup */
menupopup {
background: #87cefa !important; /* Hintergrund */
}
/* Vorgegebene Breite der Popup-Fenster */
.menupopup-arrowscrollbox,
menupopup,
popup {
appearance: none!important;
width: 250px !important; /* Breite in px anpassbar */
}
/* vorgegebene Höhe der Zeilen */
menupopup > menu ,
menupopup > menuitem,popup > menu ,
popup > menuitem {
appearance: none!important;
min-height: 24px !important; /* Höhe in px anpassbar */
max-height: 24px !important;
}
.searchbar-textbox, #urlbar {
border-radius: 20px !important;
min-height: 33px !important;
padding: 0 !important;
margin: 0 2px !important;
}
/************* SEPARATOREN ***********************/
/* Separatoren werden entfernt (Querlinien) */
menuseparator {
display: none !important;
}
/************ KONTEXT-MENÜ ****************************
/* Icon Farbe */
#context-navigation > menuitem > hbox.menu-iconic-left {
appearance: none !important;
color: #3300ff ! important; /* Farbe */
font-size: 15px !important;
padding: 0px 4px 0px 4px !important; /* Ausrichtung */
}
/* Hintergrund hinter den Icons */
#context-navigation {
background: activecaption !important; /* Farbe */
padding: 4px 4px 4px 4px !important; /* Ausrichtung */
}
/****************** MENÜBAR ********************/
:is(menu,menuitem)[_moz-menuactive="true"] {
appearance: none !important;
--menuitem-hover-background-color: lightblue !important;
}
/*Höhenverschiebung Menülleiste durch Hovereffekt verhindern*/
#main-menubar {
height: 28px !important;
}
Alles anzeigen
Was muss man ändern?
NS: Bin wohl erst Morgen wieder anwesend
Edit:
Zwischenzeitlich hattest du ja schon gepostet, aber vielleicht kannst du ja etwas nutzen!
Editende:
Mein ähnlicher Code....
/* About : Dialog */
@-moz-document url-prefix("chrome://browser/content/aboutDialog.xhtml") {
#aboutDialog,
#aboutDialogContainer,
#agent .textbox-input-box,
#agent,
#bottomBox,
#clientBox,
#leftBox,
#trademark,
#updateBox > vbox:nth-child(2) > hbox:nth-child(2),
#updateButton,
#version,
#version::before
{
font-family: 'Courier New' !important;
}
#aboutDialog vbox,
#aboutDialogContainer hbox,
#clientBox vbox,
#contributeDesc > label:nth-child(1),
#contributeDesc > label:nth-child(2),
#releasenotes,
#trademark,
#updateButton,
label.bottom-link:nth-child(3),
[href='about:credits'],
[href='about:license'],
[href='about:rights'],
[href='https://www.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog']
{
font-size: 15px !important;
}
#contributeDesc > label:nth-child(1),
#contributeDesc > label:nth-child(2),
#releasenotes,
label.bottom-link:nth-child(3),
[href='about:credits'],
[href='about:license'],
[href='about:rights'],
[href='https://www.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog']
{
text-decoration: none !important;
}
#aboutDialog,
#aboutDialogContainer,
#bottomBox,
#clientBox,
#trademark
{
background-color: #202340 !important;
}
#updateDeck::before
{
content: 'Boersenfeger seine Nightly-Version ist:';
font-size: 17px !important;
font-weight: bold !important;
color: #f08080 !important;
margin-right: 6px !important;
margin-left: 0px !important;
}
#version
{
font-size: 16px !important;
margin-top: 30px !important;
color: #fff !important;
}
#aboutDialog
{
max-height: 600px !important;
min-width: 1100px !important;
}
#agent
{ appearance: none !important;
margin: 50px 40px 84px -1px !important;
max-height: 56px !important;
padding: 5px 10px 0 10px !important;
text-align: center !important;
border-radius: 14px !important;
max-width: 1300px !important;
}
#clientBox {
margin-left: -50px !important;
margin-right: 50px !important;
}
#agent .textbox-input-box
{
margin-top: 11px !important;
margin-left: 12px !important;
}
#bottomBox
{
margin-left: 60px !important;
margin-top: -15px !important;
margin-bottom: 40px !important;
}
#updateBox > vbox:nth-child(2) > hbox:nth-child(2)
{
margin-top: -25px !important;
margin-bottom: 20px !important;
}
#trademark
{
margin-top: 16px !important;
margin-bottom: -40px !important;
}
#leftBox
{
margin-top: 60px !important;
margin-left: 80px !important;
max-width: 200px !important;
min-width: 200px !important;
}
/* Build ID about Dialog css, Text mittig.*/
#rightBox textarea
{
background-color: white !important;
color: black !important;
text-align: center !important;
margin-top: 30px !important;
margin-bottom: 10px !important;
min-width: 750px !important;
min-height: 70px !important;
}
#icons > .icon
{
margin-top: 8px !important;
}
#updateButton
{
appearance: none !important;
background: gainsboro url('file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index1.gif')
no-repeat !important;
background-color: gainsboro !important;
background-position: 13px 3px !important;
min-width: 360px !important;
padding-left: 30px !important;
border-radius: 14px !important;
border: 2px solid red!important;
color: black !important;
}
#updateButton:hover
{
background-color: #b2edfa !important;
}
#updateButton .button-box
{
padding-top: 0 !important;
padding-bottom: 0 !important;
padding-start: 3px !important;
padding-end: 3px !important;
}
#updateBox vbox description.text-blurb label.text-link
{
display: none !important;
}
[href='about:license']
{
background: gainsboro url('file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index1.gif')
no-repeat !important;
background-position: 10px 3px !important;
color: black !important;
margin: 0 30px 0 70px !important;
padding: 0 20px 0 40px !important;
border: 2px solid dodgerblue !important;
border-radius: 14px !important;
}
[href='about:license']:hover
{
background-color: #b2edfa !important;
}
[href='about:rights']
{
background: gainsboro url('file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index3.gif')
no-repeat !important;
background-position: 10px 3px !important;
color: black !important;
margin: 0 29px 0 -30px !important;
padding: 0 20px 0 40px!important;
border: 2px solid red!important;
border-radius: 14px !important;
}
[href='about:rights']:hover
{
background-color: #b2edfa !important;
}
label.bottom-link:nth-child(3)
{
background: gainsboro url('file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index4.png')
no-repeat !important;
background-position: 10px 3px !important;
color: black !important;
margin: 0 -30px 0 -30px!important;
padding: 0 20px 0 40px !important;
border: 2px solid green!important;
border-radius: 14px !important;
}
label.bottom-link:nth-child(3):hover
{
background-color: #b2edfa !important;
}
[href='https://www.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog']
{
background: gainsboro url('file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/Fuchs2.png')
no-repeat !important;
background-position: 10px 3px !important;
color: black !important;
margin: 0 -2px 0 -2px !important;
padding: 0 15px 0 35px!important;
border: 2px solid cadetblue !important;
border-radius: 14px !important;
}
[href='https://www.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog']:hover
{
background-color: #b2edfa !important;
}
[href='about:credits']
{
background: gainsboro url('file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index8.png')
no-repeat !important;
background-position: 10px 3px !important;
color: black !important;
margin: 0 5px 0 5px !important;
padding:0 15px 0 35px !important;
border: 2px solid cadetblue !important;
border-radius: 14px !important;
}
[href='about:credits']:hover
{
background-color: #b2edfa !important;
}
#contributeDesc > label:nth-child(1)
{
background: gainsboro url('file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index10.png')
no-repeat !important;
background-position: 10px 3px !important;
color: black !important;
margin: 0 3px 0 3px !important;
padding: 0 15px 0 35px !important;
border: 2px solid cadetblue !important;
border-radius: 14px !important;
}
#contributeDesc > label:nth-child(1):hover
{
background-color: #b2edfa !important;
}
#contributeDesc > label:nth-child(2)
{
background: gainsboro url('file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index9.png')
no-repeat !important;
background-position: 10px 3px !important;
color: black !important;
margin: 0 -2px 0 10px !important;
padding: 0 15px 0 35px !important;
border: 2px solid cadetblue !important;
border-radius: 14px !important;
}
#contributeDesc > label:nth-child(2):hover
{
background-color: #b2edfa !important;
}
#releasenotes
{
background: gainsboro url('file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index11.png')
no-repeat !important;
background-position: 10px 3px !important;
color: black !important;
margin: 0 20px 0 15px !important;
padding: 0 25px 0 30px !important;
border: 2px solid cadetblue !important;
border-radius: 14px !important;
margin-top: 25px !important;
}
#releasenotes:hover
{
background-color: #b2edfa !important;
}
}
Alles anzeigen
sieht so aus:
Die Pfade zu den Icons sowie die Beschriftung in Zeile 62 müssen natürlich bei dir angepasst werden.
Ich habe meinen Scriptcode mal mit dem von Aborix in #29 verglichen und bei mir diese Unterschiede beseitigt:
Zeile 26 neu eingefügt, bisher war dieser Code nur 1x in Zeile 23 vorhanden
Ferner wurden die Zeilen 35-40 ausgetauscht...
Danach Neustart mit Cache-Leerung.
Jetzt funktioniert es so, das ein neuer Tab mit dem AddOnsManager geöffnet wird und zunächst das Script durchläuft. Schließlich wird zum Schluß der dortige Button "Verfügbare UpDates" ausgelöst und das gefundene AddOn im Hauptfeld angezeigt, bzw. wenn kein UpDate vorhanden ist, entsprechend nichts angezeigt. Für mich ist damit die Fehlfunktion des Scripts behoben. Vielen Dank dafür!
Ich poste noch einmal mein nun verwendeten Code mit den Änderungen von aborix zum Vergleich.
/* Addons-UpDate-Check-Button */
(function() {
if (window.__SSi != 'window0')
return;
CustomizableUI.createWidget({
id: 'addons-update-button',
defaultArea: CustomizableUI.AREA_NAVBAR,
label: 'Add-ons Update',
tooltiptext: 'Add-ons aktualisieren',
onCommand: onCommand,
onCreated: function(button) {
button.style.listStyleImage = 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB9klEQVR42o2TP2gTURzHvwcRXqDDCzi8gww+cfACBRsoJAWXji0KzZFBxUELDoouOmnG6JQiWOogVAcpHUpvKDRLQbekoKRDJXHyLYHLIOQNhXtgBt+7u+SSpkq+w93xu9/vw++vhVj0MiUOyzicEo5LuFh/ACGV6PT6HflbKmOyzINnGdt5kPOKnBYxg5pCNu99apdEt9cLAYdPi4cr8+kVDGYJ10oB3mlQdzebqxZnlLZf5vsEwYzRkRTSyL1pZSznCuPtZ/zXlMcNV9e2FH2LBvCjDrAFoNsYueTeiashoPV4EkDWNrSzA/ltP2rwohumjZ9foI5qI7/8+yHgkT0CkGvLwK0q5KYLovzIWK6BXNf2754GVBPABz8GPEwAithQKQJ6JmJiBmqOQekGEyUTqAF8HALuJwDML4OY2gcK6us2EPQj+811Xf+J7kcrAXwOAZS37oyVcLsCFO5CHXvAQSWyLZaist6ugvRFAtg1gOw0QJrGFXTQmYyMcxRytwJyWp8YVAIoj/eAhoHh24nH2GmADHT95yad39MApm+gUbZ9OwVq1mNyWeKsppaEwB9ALu35drjKzwvs1YuFdHXa8V9bCNROgsrGce91CDCX6GbJkxJPr9sE9v+CfQXfE8H2fldtmYu0xn8a0IUZn0tgeMpGfwErbLqeHktDngAAAABJRU5ErkJggg==)';}
});
function onCommand(event) {
let frameScript = function() {
addEventListener('pageshow', function onPageshow(event) {
let document = event.target;
if (document.URL != 'about:addons')
return;
removeEventListener('pageshow', onPageshow);
content.setTimeout(function() {
document.querySelector('addon-page-options panel-item[action="check-for-updates"]').click();
content.setTimeout(function() {
let categories = document.getElementById('categories');
let item = categories.querySelector('button[viewid="addons://updates/available"]');
item.click();
categories.addEventListener('mousedown', function onMousedown(event) {
if (event.target != item && event.target.parentNode != item) {
item.hidden = true;
categories.removeEventListener('mousedown', onMousedown);
};
});
}, 1000);
}, 1000);
});
};
let frameScriptURI = 'data:,(' + frameScript.toString() + ')()';
let window = event.target.ownerGlobal;
window.openTrustedLinkIn('about:addons', 'tab');
window.gBrowser.selectedBrowser.messageManager.loadFrameScript(frameScriptURI, true);
};
})();
Alles anzeigen
Ungetestet: den verschiedenen Kommentaren kann man entnehmen, das diese Erweiterung den Firefox ausbremst....
Bewertungen für Super Agent - Automatic cookie consent – Add-ons für Firefox (de)
Ich möchte auch hervorheben, dass durch die Entfernung keinerlei Vorteil für die Funktionalität oder Performance entsteht. Das ist komplett vernachlässigbar.
.. das mag sein, die Übersichtlichkeit ist, zumindest für mich, dadurch aber eingeschränkt, wenn jede Änderung am Anfang des Schriftstückes niedergelegt werden soll. Manche Datei existiert ja schon seit Jahren und wurde möglicherweise 50 oder 100 fach korrigiert bzw verändert. Ggf. auch von mir, wenn ich z.B. eine andere Farbe in den AddOnsManager einbaue, als der ursprüngliche Entwickler vorgesehen hatte.
Wie soll es denn dann in Zukunft hier gehandhabt werden? Meine verwendeten Scripts und Codes sind sicher nicht mehr in dem Zustand, wie sie ggf. vor Jahren mal von irgendeinem User entwickelt worden sind, allein hier die diversen Änderungen und Anpassungen, die ja bald täglich stattfinden, sind da sicher nicht mehr nachvollziehbar zu hinterlegen.
Man müsste also imho eine Timeline ziehen und alles Neue, was dann hier angeboten wird, sollte dann in Zukunft immer komplett, mit den angesprochenen Urheberhinweisen verwendet werden. Oder wie stellst du Sören Hentzschel dir das vor?
Man beachte seine Erwähnung von 2002Andreas
Das ist genau das, was ich hier im Forum häufig vermisse. Ich habe dir kürzlich zu genau dem Thema mal was geschrieben.
Ich denke, es gibt einen Unterschied, ob ein externer Coder auf eine Idee Bezug nimmt und entsprechend einen Hinweis hinterlässt oder ob hier im Forum Code-Unterstützung gewährt wird. Ich für meinen Teil entferne diese ganzen Hinweise aus Codes und Scripts, einfach um sie schlank zuhalten. Du magst das anders händeln, das bleibt dir auch unbenommen. Daraus aber eine Religion zu machen halte ich schlicht für übertrieben.
Sollte keine Kritik sein, ich wusste auch nicht, das es doch noch so viele Nutzer vom Browser gibt, was mich freut....
Habs editiert...
Aris hat hier eine neue Version des Skriptes veröffentlicht.
Man beachte seine Erwähnung von 2002Andreas
Zitat
Idea based on 'search revert' script by '2002Andreas':
Ich habe mir alles was ich brauche mit Scripts und Codes zurechtgefrickelt (mit Hilfe des Forums) und sehe keine Notwendigkeit nun wieder alles rumzureissen.
.. und das trotz anscheinend sinkender Nutzerzahlen....
Edit: Ich beziehe mich auf Firefox Editende:
Die Grundfunktion ist ja vorhanden... beim Klick auf den Button wird der AddonManager geöffnet und es wird nach UpDates gesucht, sowie, falls vorhanden auch angezeigt... das reicht mir. Wenn es eine Lösung gibt, nehme ich die aber auch!
.. auch von mir Alles Gute und vor allem viel Gesundheit!
Jo, wie gesagt
Zitatund bestätige deine Beobachtung.
Ich habe von Anfang an gelesen
und bestätige deine Beobachtung.
Meine Vorgehensweise ist aber leicht anders..
Ich löse das Script mit Klick auf den Button aus, es öffnet sich der Addon-Manager, ich sehe ob es ein UpDate gab (noch nicht von welcher Erweiterung), wenn ja, dann klicke ich links auf Erweiterungen, es öffnet sich die Liste und dort sehe ich dann, bei welcher Erweiterung Aktualisieren steht.
Klicke ich dann auf diesen Button, wird die Erweiterung schließlich aktualisiert.
Wenn ich auf Erweiterungen und dann auf Verfügbare UpDates anzeigen klicke,
wird die zu aktualisierende Erweiterung auch angezeigt.
OK, ihr habt recht!
... dann weitermachen ...