Für 2.
Tese mal diesen CSS Code dazu:
Hallo Endor
Danke für deine Antworten. Dieser CSS Code funktioniert !
Für 3.Teste mal diese Version:
Diese Version leider nicht. Bleibt so das die Erweiterungen aufgehen.
Gruß hwww
Für 2.
Tese mal diesen CSS Code dazu:
Hallo Endor
Danke für deine Antworten. Dieser CSS Code funktioniert !
Für 3.Teste mal diese Version:
Diese Version leider nicht. Bleibt so das die Erweiterungen aufgehen.
Gruß hwww
Schönen guten Morgen
Möchte nachdem nun alles wieder funktioniert (Erweiterungen usw.) auf den 67.0 Portable FF umsteigen. Habe in schon parallel in Betrieb und alle Einstellungen von 60.7.0esr in 67.0 übernommen. Ein paar Dinge funktionieren noch nicht so wie beim esr. Deshalb hier die Anfrage wie man was ändern muss. Habe mal zwei Bilder gemacht das ich das besser erklären kann.
Bild 1 FF 60.7.0esr Portable
[attachment=1]FF 60 esr portable.JPG[/attachment]
Bild 2 FF 67.0 Portable
[attachment=0]FF 67 portable.JPG[/attachment]
1. Die Buttons rechts oben (min , max und close) sind mit diesem Code in der "userChrome.css" so geschaltet Bild 1 Nr.3.
/***********3 Buttons rechts oben******************/
#titlebar-min:hover{
background:#cccccc!important;
}
#titlebar-max:hover{
background:#cccccc!important;
}
#titlebar-close:hover{
background:#ee5500!important;
}
#titlebar-min,
#titlebar-max,
#titlebar-close{
border: 1px solid grey !important;
margin-top: -4px !important;
margin-bottom: 1px !important;
border-radius: 7px !important;
}
Alles anzeigen
Der gleiche Code ist auch in der "userChrome.css" von 67.0. Da sieht es aber so wie auf Bild 2 Nr.3 aus. Was muss ich ändern das das gleich ist ?
2. Habe das Script "about Seiten öffnen". Funktioniert in beiden FF. Wie man sieht ist aber der Button in Bild 2 Nr.2 viel kleiner als die anderen rechts und links. Wie bekomme ich den gleich groß ?
Hier das Script.
(function() {
if (location != 'chrome://browser/content/browser.xul')
return;
try {
CustomizableUI.createWidget({
id: 'about-toolbarbutton',
type: 'custom',
defaultArea: CustomizableUI.AREA_NAVBAR,
onBuild: function(aDocument) {
var toolbaritem = aDocument.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', 'toolbarbutton');
var attrs = {
id: 'about-toolbarbutton',
class: 'chromeclass-toolbar-additional',
type: 'menu',
removable: true,
label: 'about Seiten öffnen',
tooltiptext: 'about Seiten öffnen'
};
for (var a in attrs)
toolbaritem.setAttribute(a, attrs[a]);
return toolbaritem;
}
});
} catch(e) { };
var css = '\
#about-toolbarbutton {list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAvdJREFUeNp8U1tIVFEUXefOnTuj+EpFJTEETSQKogdkBBYRIWERBoZ9BRlYQhj9mH75kUlg9mlhJUEgGZmRRWrkKx+NlD0U0zRmeljojKPjzJ37Ou17nfoQ6Vw253DuWevsddberKbxIRjnrZyjiIODARQMNgEQuN7ijss9KXCDdjnWDoExiIZhtGZu2liUmpIMzlcJRAK/mdMxOS8XM1kpXgs2zwiCAElkj1F14z5fDmvctyxz75JszSvBMC+5Ncx1YlQiEY6EuVb56ihtdnHKgCOsaBiZcFtpmmlJNgZO+xrt1PbNYUtqAtKTnNbV3/0cn+f9uLw7wTxtStCh6TqSExIJTGeIwG7qZ17IJL1waxpa37nhDTjBPnTDM/kRjNJvHs+Bg2cTAcnTNB2d/SOki1kkIjM1JsGgufXtV5zZl4k7d1twMCsFp05UYnHRj5npaXgGhyDCMKBqGgry91gEzCJgGOuaAilBxYFMa1anXNhccAGd3a8w/mkcqhyE3Wa6QEoUkvC81/VPggmI4U6U3x4lO4lUEJHhlBAIBpG4IRErAT/md5QitPCj3bQRiqKiYH/eag2wiE1ELLEgmu61oa76/K72By0ukbTHxsZADmtIdt2EKNqOimQ+STDQ+XrYun2VwPw4juzNRYeSjMKWiZKd2xHyBgJRkiShuroSuqqjvqHBsDKQNRW52WlWidiYSC7Y4RAMVPW4MRudjabDuRev9c/gkDz2q3tgJBU28+mM6YGBvkuiWaRKWLWcsO4mcO3gZsyGTmNRqkB/2TacbfMgNS4OjUPCQOh6/ZVIQYYovlguKASOcsZjRfbB6YhGVd44jnf7MWiCH3mQHichGPQhNtoR47jaP1qx3AGVHtYsfIGTZp2KKawuUQ/YEFK84EyhalRR/nQO6fFOhIJ+jL13vfhdc+ycHYb1wCyShiivLPc8edabbzbS30ZxMAM5LA2eb8C83YaFn+6Xc3UlZRm1XTPhdRoriyIB/x8+ipn1fvwRYABPz3B9ncIrWwAAAABJRU5ErkJggg==)}\
#about-toolbarbutton > dropmarker {display: none}\
';
var stylesheet = document.createProcessingInstruction('xml-stylesheet', 'type="text/css" href="data:text/css;utf-8,' + encodeURIComponent(css) + '"');
document.insertBefore(stylesheet, document.documentElement);
var menu, menuitem, menuseparator, menupopup;
// menupopup of toolbarbutton
menupopup = document.createElement('menupopup');
menupopup.id = "about-button-popup";
document.getElementById('about-toolbarbutton').appendChild(menupopup);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:about");
menuitem.setAttribute('tooltiptext', "about:about öffnen");
menuitem.setAttribute('accesskey', "o");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:about", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:addons");
menuitem.setAttribute('tooltiptext', "about:addons öffnen");
menuitem.setAttribute('accesskey', "a");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:addons", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:buildconfig");
menuitem.setAttribute('tooltiptext', "about:buildconfig öffnen");
menuitem.setAttribute('accesskey', "b");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:buildconfig", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:cache");
menuitem.setAttribute('tooltiptext', "about:cache öffnen");
menuitem.setAttribute('accesskey', "c");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:cache", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:config");
menuitem.setAttribute('tooltiptext', "about:config öffnen");
menuitem.setAttribute('accesskey', "g");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:config", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:crashes");
menuitem.setAttribute('tooltiptext', "about:crashes öffnen");
menuitem.setAttribute('accesskey', "r");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:crashes", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:containers");
menuitem.setAttribute('tooltiptext', "about:containers öffnen");
menuitem.setAttribute('accesskey', "r");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:preferences#containers", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:debugging");
menuitem.setAttribute('tooltiptext', "about:debugging öffnen");
menuitem.setAttribute('accesskey', "d");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:debugging", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:home");
menuitem.setAttribute('tooltiptext', "about:home öffnen");
menuitem.setAttribute('accesskey', "h");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:home", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:license");
menuitem.setAttribute('tooltiptext', "about:license öffnen");
menuitem.setAttribute('accesskey', "l");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:license", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:memory");
menuitem.setAttribute('tooltiptext', "about:memory öffnen");
menuitem.setAttribute('accesskey', "m");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:memory", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:networking");
menuitem.setAttribute('tooltiptext', "about:networking öffnen");
menuitem.setAttribute('accesskey', "w");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:networking", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:newtab");
menuitem.setAttribute('tooltiptext', "about:newtab öffnen");
menuitem.setAttribute('accesskey', "n");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:newtab", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:performance");
menuitem.setAttribute('tooltiptext', "about:performance öffnen");
menuitem.setAttribute('accesskey', "f");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:performance", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:plugins");
menuitem.setAttribute('tooltiptext', "about:plugins öffnen");
menuitem.setAttribute('accesskey', "P");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:plugins", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:preferences");
menuitem.setAttribute('tooltiptext', "about:preferences öffnen");
menuitem.setAttribute('accesskey', "e");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:preferences", "tab");');
menupopup.appendChild(menuitem);
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:privatebrowsing");
menuitem.setAttribute('tooltiptext', "about:privatebrowsing öffnen");
menuitem.setAttribute('accesskey', "b");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:privatebrowsing", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:profiles");
menuitem.setAttribute('tooltiptext', "about:profiles öffnen");
menuitem.setAttribute('accesskey', "l");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:profiles", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:serviceworkers");
menuitem.setAttribute('tooltiptext', "about:serviceworkers öffnen");
menuitem.setAttribute('accesskey', "v");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:serviceworkers", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:studies");
menuitem.setAttribute('tooltiptext', "about:studies öffnen");
menuitem.setAttribute('accesskey', "i");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:studies", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:support");
menuitem.setAttribute('tooltiptext', "about:support öffnen");
menuitem.setAttribute('accesskey', "u");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:support", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:sync-log");
menuitem.setAttribute('tooltiptext', "about:sync-log öffnen");
menuitem.setAttribute('accesskey', "l");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:sync-log", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:telemetry");
menuitem.setAttribute('tooltiptext', "about:telemetry öffnen");
menuitem.setAttribute('accesskey', "t");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:telemetry", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.setAttribute('label', "about:url-classifier");
menuitem.setAttribute('tooltiptext', "about:url-classifier öffnen");
menuitem.setAttribute('accesskey', "s");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:url-classifier", "tab");');
menupopup.appendChild(menuitem);
// submenu of context menu
menu = document.createElement('menu');
menu.id = "context-about-menu";
menu.setAttribute('label', "about Seiten öffnen");
menu.setAttribute('accesskey', "o");
document.getElementById('contentAreaContextMenu')
.insertBefore(menu, document.getElementById('context-sep-viewbgimage').nextSibling);
menupopup = document.createElement('menupopup');
menu.appendChild(menupopup);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:about";
menuitem.setAttribute('label', "about:about");
menuitem.setAttribute('tooltiptext', "about:about öffnen");
menuitem.setAttribute('accesskey', "o");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:about", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:addons";
menuitem.setAttribute('label', "about:addons");
menuitem.setAttribute('tooltiptext', "about:addons öffnen");
menuitem.setAttribute('accesskey', "a");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:addons", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:buildconfig";
menuitem.setAttribute('label', "about:buildconfig");
menuitem.setAttribute('tooltiptext', "about:buildconfig öffnen");
menuitem.setAttribute('accesskey', "b");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:buildconfig", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about-cache";
menuitem.setAttribute('label', "about:cache");
menuitem.setAttribute('tooltiptext', "about:cache öffnen");
menuitem.setAttribute('accesskey', "c");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:cache", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about-config";
menuitem.setAttribute('label', "about:config");
menuitem.setAttribute('tooltiptext', "about:config öffnen");
menuitem.setAttribute('accesskey', "g");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:config", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about-crashes";
menuitem.setAttribute('label', "about:crashes");
menuitem.setAttribute('tooltiptext', "about:crashes öffnen");
menuitem.setAttribute('accesskey', "r");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:crashes", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about-containers";
menuitem.setAttribute('label', "about:containers");
menuitem.setAttribute('tooltiptext', "about:containers öffnen");
menuitem.setAttribute('accesskey', "r");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:preferences#containers", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:debugging";
menuitem.setAttribute('label', "about:debugging");
menuitem.setAttribute('tooltiptext', "about:debugging öffnen");
menuitem.setAttribute('accesskey', "d");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:debugging", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:home";
menuitem.setAttribute('label', "about:home");
menuitem.setAttribute('tooltiptext', "about:home öffnen");
menuitem.setAttribute('accesskey', "h");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:home", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:license";
menuitem.setAttribute('label', "about:license");
menuitem.setAttribute('tooltiptext', "about:license öffnen");
menuitem.setAttribute('accesskey', "n");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:license", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:memory";
menuitem.setAttribute('label', "about:memory");
menuitem.setAttribute('tooltiptext', "about:memory öffnen");
menuitem.setAttribute('accesskey', "m");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:memory", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:networking";
menuitem.setAttribute('label', "about:networking");
menuitem.setAttribute('tooltiptext', "about:networking öffnen");
menuitem.setAttribute('accesskey', "w");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:networking", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:newtab";
menuitem.setAttribute('label', "about:newtab");
menuitem.setAttribute('tooltiptext', "about:newtab");
menuitem.setAttribute('accesskey', "w");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:newtab", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:performance";
menuitem.setAttribute('label', "about:performance");
menuitem.setAttribute('tooltiptext', "about:performance öffnen");
menuitem.setAttribute('accesskey', "f");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:performance", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about-plugins";
menuitem.setAttribute('label', "about:plugins");
menuitem.setAttribute('tooltiptext', "about:plugins öffnen");
menuitem.setAttribute('accesskey', "P");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:plugins", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:preferences";
menuitem.setAttribute('label', "about:preferences");
menuitem.setAttribute('tooltiptext', "about:preferences öffnen");
menuitem.setAttribute('accesskey', "e");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:preferences", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:privatebrowsing";
menuitem.setAttribute('label', "about:privatebrowsing");
menuitem.setAttribute('tooltiptext', "about:privatebrowsing öffnen");
menuitem.setAttribute('accesskey', "r");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:privatebrowsing", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:profiles";
menuitem.setAttribute('label', "about:profiles");
menuitem.setAttribute('tooltiptext', "about:profiles öffnen");
menuitem.setAttribute('accesskey', "l");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:profiles", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:serviceworkers";
menuitem.setAttribute('label', "about:serviceworkers");
menuitem.setAttribute('tooltiptext', "about:serviceworkers öffnen");
menuitem.setAttribute('accesskey', "v");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:serviceworkers", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:studies";
menuitem.setAttribute('label', "about:studies");
menuitem.setAttribute('tooltiptext', "about:studies öffnen");
menuitem.setAttribute('accesskey', "i");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:studies", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:support";
menuitem.setAttribute('label', "about:support");
menuitem.setAttribute('tooltiptext', "about:support öffnen");
menuitem.setAttribute('accesskey', "u");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:support", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:sync-log";
menuitem.setAttribute('label', "about:sync-log");
menuitem.setAttribute('tooltiptext', "about:sync-log öffnen");
menuitem.setAttribute('accesskey', "l");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:sync-log", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:telemetry";
menuitem.setAttribute('label', "about:telemetry");
menuitem.setAttribute('tooltiptext', "about:telemetry öffnen");
menuitem.setAttribute('accesskey', "t");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:telemetry", "tab");');
menupopup.appendChild(menuitem);
menuitem = document.createElement('menuitem');
menuitem.id = "context-about:url-classifier";
menuitem.setAttribute('label', "about:url-classifier");
menuitem.setAttribute('tooltiptext', "about:url-classifier öffnen");
menuitem.setAttribute('accesskey', "s");
menuitem.setAttribute('oncommand', 'openTrustedLinkIn("about:url-classifier", "tab");');
menupopup.appendChild(menuitem);
})();
Alles anzeigen
3. Auch bei Script "addons update check button" Bild 1+2 Nr.1 gibt es ein Problem. Beim esr 60 geht beim anklicken ein Tab auf und es wird sofort nach neuen Updates gesucht. Beim 67 geht auch ein neuer Tab auf aber es erscheinen die Erweiterungen und man muss dann manuell nach neuen Add-ons suchen.
Hier das Script.
(function() {
if (location != 'chrome://browser/content/browser.xul')
return;
if (CustomizableUI.getPlacementOfWidget('addons-update-button'))
return;
try {
CustomizableUI.createWidget({
id: 'addons-update-button',
defaultArea: CustomizableUI.AREA_NAVBAR,
label: 'Add-ons Update',
tooltiptext: 'Add-ons Update',
onCommand: onCommand,
onCreated: function(button) {
button.style.listStyleImage = 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAdUlEQVQokZVSwRHAIAgLPYfoXs7RCTpG53Avt7APrhaFU8gLMEEJAkEQgFbc7IxkVjt0r6Sp7VIVITumBpKt00FA2ThmjXzkfMMWO8EZFSj8LrUyjsG9b9DaJXq+qAIVxEUxtLHpaXE95dj1NcK2rmbwaGJ4Af0tIg00j/6iAAAAAElFTkSuQmCC)';
}
});
} catch(e) {
return;
};
function onCommand(event) {
let frameScript = function() {
addEventListener('pageshow', function onPageshow(event) {
if (event.target.location != 'about:addons')
return;
content.gViewController.doCommand('cmd_findAllUpdates');
content.gViewController.doCommand('cmd_goToAvailableUpdates');
removeEventListener('pageshow', onPageshow);
});
};
let frameScriptURI = 'data:,(' + frameScript.toString() + ')()';
let window = event.target.ownerGlobal;
window.openTrustedLinkIn('about:addons', 'tab');
window.gBrowser.selectedBrowser.messageManager.loadFrameScript(frameScriptURI, true);
};
})();
Alles anzeigen
Möchte mich schon jetzt für die vielen Anfragen Entschuldigen aber bei den 3 Dingen komme ich nicht weiter.
Schöne Grüße hwww
Ein Bookmarklet ist ein ganz normales Lesezeichen :wink:
Rechtsklick z.B. auf der Lesezeichensymbolleiste...Neues Lesezeichen..
Name z.B. YT downloadund als Adresse gibst du den kopierten Text von Zitronella ein.
Dann startest du ein Video auf Youtube und machst einfach nur einen Klick auf das Lesezeichen.Kurz darauf wird ein Fenster geöffnet und du kannst dir den Download aussuchen.
Hallo Andreas
DANKE! Jetzt habe ich es Verstanden und es hat geklappt.
Schönes Wochenende euch beiden hwww
und nen Bookmarklet ginge auch?
Ich hab mal eines gebastelt
Hallo
Wo und wie wird das gespeichert? In die "userChrome" oder in den "chrome Ordner" als .uc.js ? Wo ist dann das Lesezeichen zu sehen ?
muss es unbedingt diese Erweiterung sein? Ich nutze schon lange den Forecastfox (fix version). Der kann das (und viel mehr). Ich bin damit sehr zufrieden.
Hallo
Habe noch mal länger getestet und du hast mich Überzeugt. Forecastfox (fix version) ist nun drauf und bleibt ( vorerst ) auch drauf.
Schönes Wochenende an alle hwww
Hallo milupo und schlingo
Erst mal danke für eure Antworten.
Hallomuss es unbedingt diese Erweiterung sein? Ich nutze schon lange den Forecastfox (fix version). Der kann das (und viel mehr). Ich bin damit sehr zufrieden.
Ich habe alle Wettererweiterungen probiert und diese hat mir halt ( bis auf das klicken zum öffnen des großen Fenster ) am besten gefallen. Mich stört bei "Forecastfox (fix version)" das es in einer Ecke von FF ist. Wenn ich es da weg mache und den Button in eine Leiste ziehe muss man auch wieder drauf klicken.
macht es das nicht schon? Du meinst doch das hier:
Doch genau das macht es auch bei mir. Ich meinte aber das es so sein sollte.
[attachment=0]Unbenannt.JPG[/attachment]
Das große Fenster sollte aufgehen.
Schöne Grüße hwww
Hallo
Habe die Erweiterung "Weather" in meinem FF. Der Button wird in der URL Leiste angezeigt. Wenn man die Wettervorhersage sehen will muss man auf den Button klicken und ein kleines Fenster mit der Vorhersage geht auf. Nun die Frage: Ist es Möglich durch einen Eintrag z.B. in der "userChrome.css" das man nur mit der Maus über den Button fahren muss das das Fenster auf geht und wenn man daneben fährt wieder zu ? Oder ist das nur in der Erweiterung zu Programmieren ?
Danke im voraus hwww
Hallo Andreas
Was soll ich sagen. Wie immer perfekt. Passt genau!
Vielen Dank und einen schönen Maifeiertag hwww
Hallo
Möchte gerne in LZ-SL im Klappfenster die Hoverfarbe (blau) ändern in z.B. grau (siehe Bild). Geht das überhaupt.
[attachment=0]Unbenannt.JPG[/attachment]
Danke im voraus hwww
In Zukunft...denk bitte auch dran, du nutzt die ESR Version...und nicht die Release. :wink:
Was in diesem Fall aber nicht so wichtig war.
Werde mich in Zukunft bessern und es bei jeder Anfrage dabei schreiben.
Noch eine schöne Woche wünsche ich dir hwww
Hallo Andreas noch mal
Bitte vergesse den Beitrag #9.
Ich habe noch andere Einträge in der userChrome.css z.B diesen:
/************ Rahmen-Stärke, -Farbe, -Radius und Abstände der Buttons *************/
/********************* in der Menue-Leiste******************************/
#about-toolbarbutton{
-moz-appearance:none!important;
border: 1px solid grey !important;
padding-left:4px!important;
margin-top: -2px !important;
margin-bottom: 1px !important;
border-radius: 7px !important;
}
#about-toolbarbutton:hover{
background:#ccff00!important;
}
#toolbar-menubar toolbarbutton:hover{
background:#ccff00!important;
border: 1px solid grey !important;
padding-left:4px!important;
margin-top: -2px !important;
margin-bottom: 1px !important;
border-radius: 7px !important;
}
#toolbar-menubar toolbarbutton{
border: 1px solid grey !important;
padding-left:4px!important;
margin-top: -2px !important;
margin-bottom: 1px !important;
border-radius: 7px !important;
}
#toolbar-menubar .toolbarbutton-1 > .toolbarbutton-icon {
-moz-appearance:none!important;
background:none!important;
}
Alles anzeigen
Da habe ich nun bei "Hover" die Farbe geändert und das funktioniert jetzt.
Bitte noch mal um Entschuldigung hwww
Hallo Andreas
Habe mich wahrscheinlich wieder mal falsch ausgedrückt. Dieser Code:
Und für die Lesezeichen in der Lesezeichensymbolleiste wäre es dieser Code:Code: Alles auswählen
#PlacesToolbarItems > toolbarbutton:hover{
background:red!important;
}
funktioniert in der Lesezeichenleiste Bild 3.
Dieser Code:
Button 4 sieht hier so aus mit diesem Code:Code: Alles auswählen
toolbar .toolbarbutton-1:hover{
background:red!important;
}
funktioniert in der Leiste Bild 2. (weiß nicht wie die genau heißt (URL-Leiste vielleicht?))
Oben in der Menüleiste? Bild 1. 4. bleibt es wie es war.
Hallo Andreas
Erst mal danke für die schnelle Antwort!
Wenn ich diesen Code benutze:
"Button alle:
toolbar .toolbarbutton-1:hover{
background:red!important;
}
"
bleiben alle Icons grau.
Wenn ich diesen Code benutze:
Teste bitte:#main-menubar > menu:hover{
background:red!important;
border-radius: 7px !important;
}
sind Die Icons 2. (siehe Bild unten) rot die Icons 1. 3. und 4. bleiben Grau.
Ich hatte gedacht das man alle Icons 1 - 4 ändern könnte in ein z.B. kräftigeres Grau.
[attachment=0]Unbenannt.JPG[/attachment]
Wenn das nicht ohne weiteres möglich ist wäre es halb so schlimm.
Gruß hwww
Hallo
Ich hänge mich hier mal dran da ich eine ähnliche Frage habe. Kann man den Hovereffekt für alle Icons also in der Menüleiste auch die gans links "Datei" "Ansicht" usw. plus Lesezeichenl. usw. Problemlos ändern? Möchte sie etwas kräftiger grau machen das sie sofort ins Auge fahlen.
Danke im voraus hwww
Wenn du magst, dann teste doch mal diesen kompletten Code ob er dir besser gefällt.
Hallo Andreas
Wie immer Super! Passt genau!!!
Schöne Woche noch für dich hwww
Hallo Andreas
Besten Dank! Wenn ich nur deinen Eintrag einfüge ist nur um "aboutbutton" der Rahmen. Habe nun beide Einträge eingefügt und jetzt ist bei allen der Rahmen darum. Nur wenn ich auf "aboutbutton" gehe wir der Hintergrund nicht grau unterlegt ( weiß nicht genau wie man das nennt) wie bei den anderen. Das ist aber nicht so tragisch damit kann man Leben.
Noch ein schönes Osterwochenende hwww
bei mir funktionierts
Hallo noch mal
Was funktioniert bei dir? Das Script oder auch die Rahmen in der Menüleiste darum?
Diese hier/* AGENT_SHEET */
Hallo
Die ist in der "userChrome.css". Wird aber zum funktionieren des Script nicht gebraucht. Es zeigt nur die Symbole neben den Einträgen an. Siehe Text unter den Bildern des Links "https://github.com/Endor8/userChr…on/Firefox%2060" : "Wer die Symbole bei den Menüs haben möchte muss über die userChrome.css die Css Datei aboutbutton.css laden".
Die im Programm liegende css Datei in userChrome.css eingespielt ?
Entschuldige. Aber welche css Datei in welchem Programm? In der "userChrome.css" liegt schon seit langem das hier:
/***** Rahmen-Stärke, -Farbe, -Radius und Abstände der Buttons *****/
/******* in der Menue-Leiste******/
#toolbar-menubar toolbarbutton {
border: 1px solid grey !important;
margin-top: -2px !important;
margin-bottom: 1px !important;
border-radius: 7px !important;
}
Alles anzeigen
Und damit werden alle Icons in der Menüleiste so wie im Bild1 #1 angezeigt außer "aboutbutton" .
Allso bei mir funktionierts ohne Probleme,
Hallo
Das Script funktioniert auch bei mir einwandfrei. Es geht nur um das Aussehen den Rahmen darum.
Gruß hwww