Siehe #20 und #21
Danke. Hatte ich übersehen. Für "Code" funktioniert es leider nicht.
Siehe #20 und #21
Danke. Hatte ich übersehen. Für "Code" funktioniert es leider nicht.
Für das Zitatenfenster benutze ich folgenden Code.
Hallo edvoldi
Danke für den Code. Passt so! Habe nur die Farbe in #eeeeee geändert. Am besten wäre es natürlich wenn man das für alle "Boxen" auch für "Code" "Antworten" usw. so einstellen könnte.
Meinst Du die?
Ich meinte diese:
Aber auch diese:
oder auch im Antwortenfeld...
Dr. John, eigentlich Malcolm „Mac“ John Rebennack Jr. ist am 06.06.2019 verstorben.
Sein musikalisches Schaffen umfasste Rock ’n’ Roll, Blues und Jazz. Rebennack war stark von der Folklore seiner Heimatstadt New Orleans beeinflusst und galt als wichtigster und nahezu einziger Vertreter des „Voodoo Rock“. 2011 wurde Dr. John in die Rock and Roll Hall of Fame aufgenommen.
Hallo Andreas
Besten Dank! Habe nur die Farbe in ein leichtes Grau geändert. Wie sieht es mit den Anderen "Boxen" aus z.B. die für Codes? Kann man doch bestimmt auch hervorheben?
Gruß hwww
Ich komme mit meinem klar so wie es jetzt ist.
Hallo sweety
Ist das der Code von "Mithrandir" wie oben #2 von ihm erwähnt? Wenn ja wo kommt der hin? Habe ihn in "userChrome.css" aber funktioniert nicht. Auch in der "userContent.css" funktioniert er bei mir nicht. Hast du einen Tipp?
Danke im voraus hwww
Danke euch beiden.
Ich werde außerdem in Kürze standardmäßig noch etwas an der Zitat-Gestaltung ändern. Möglicherweise wird eine Anpassung dann hinfällig oder muss nochmal geändert werden, falls das dann nicht gefällt, aber dazu kann ich noch nichts sagen.
Dann warten wir mal was da kommt.
Schönes Wochenende noch hwww
Hallo
Wie kann man die Umrandung für die Zitate oder auch die Umrandung z.B. hier bei der Fragestellung besser hervorheben. Die Farbe vom Hintergrund der Seite und der z.B. Fragestellung sind fast gleich und schwer unterscheidbar. Siehe Bild. Könnte man nicht die Umrandung dicker schwarz machen oder den Farbhintergrund etwas dunkler.
Danke im voraus hwww
Teste bitte mal:
Hallo Andreas
Wie immer die perfekte Lösung. Passt genau!
Besten Dank und noch eine schöne Woche
Hallo
Besten Dank an Andreas und milupo. Alles so eingestellt wie beschrieben und es klappt! Vielleicht habt ihr noch eine Idee zu #1.
Die Buttons rechts oben (min , max und close) sind mit diesem Code in der "userChrome.css" so geschaltet Bild 1 Nr.3.
noch mal der Code
/***********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 ?
Nimm besser einen anderen Editor. Ich nutze hier einen uralten Unicode-Editor. Der verbreitetste Editor ist wohl Notepad++, allerdings steht dort auch nur UTF-8. Aber da ist UTF-8 mit BOM extra angegeben, sodass du hier unbesorgt UTF-8 nehmen kannst.
Habe ich mir runter geladen. Wenn ich auf speichern unter gehe kommt eine Riesen Auswahl. UFT-8 habe ich aber nicht gefunden. Unter was muss man die Scripts abspeichern ?
wenn du den Windows Editor nimmst, dann wird unter "UTF-8" es mit BOM abgespeichert. Das ist das Problem, denn der Windows Editor ist einfach zu rudimentär und kann diese Unterscheidung wohl nicht.
OK Verstanden. Was soll ich dann nehmen ? Sollte auch so einfach gehen wie mit dem Editor.
wichtig ist nicht nur UTF-8, sondern auch ohne BOM (= Byte Order Mark).
Also ich speichere die Scripte immer mit dem Windows Editor mit "Speichern unter" und dann die Auswahl Codierung. Da gibt es nur "ANSI" "Unicode" "Unicode Big Endian" und "UFT-8" aber nichts mit "BOM". Scheinbar mache ich da was falsch?
Das dürfte aber nur in 60.7.0 ESR klappen. Denn ab Firefox 66 ist UTF-8 ohne BOM erforderlich. Mit BOM wird es auch nicht funktionieren. Und ich denke mal, dass das für den Portable ebenfalls zutrifft.
Hallo milupo
Es ist tatsächlich so. Gespeichert mit "UFT-8" funktioniert im FF 67 nicht. Gespeichert Mit "ANSI" funktioniert es. Eben getestet beim 60esr funktioniert es mit "UFT-8" und mit "ANSI".
Zu 3 funktioniert hier:
Für 3.Teste mal diese Version:
Danke euch beiden. Hatte noch mal nachgesehen und hatte den Code mit "UTF-8" gespeichert und da hat er nicht funktioniert. Jetzt mit "ANSI" gespeichert und da klappt es.
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