milupo
Werde in Zukunft nicht mehr so ehrlich alles zugeben.
Nehme mir künftig ein Beispiel an unserer Verteidigungsministerin! ![]()
Beiträge von Büssen
-
-
-
milupo
Muss dir nicht leid tun. Übung macht dann den Meister - bin aber noch nicht soweit!
-
Und genau in dieses Loch bin ich gefallen.
Hatte den Code in de Ordner CSSWeb gepackt, weil vorher bereits obiges Bild gezeigt wurde.Kehrt marsch - Datei in den CSS-Ordner - import-Befehl in die userChrome.css - passt!
Vielen Dank für alle Erklärungen >> bis auf ein Neues!!
Zitat von milupoBeides im Nightly. Mysteriös.
Das ist eben mein gemeintes "Loch" -
Habe das Beispiel noch nciht getestet.
Im 66.0.4 sieht es so aus:[attachment=0]about-button_66.04.jpg[/attachment]
-
Das ging ja fix!! :klasse:
Hier mein Code about - button
CSS
Alles anzeigen/* AGENT_SHEET */ @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); @-moz-document url(chrome://browser/content/browser.xul){ /* about-button Menü und Rechtsklick Kontextmenüeinträge */ #context-about-menu{ -moz-appearance:none!important; url("chrome://global/content/bindings/menu.xml#menu-iconic") !important; 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==") !important; padding-left:4px !important;} #context-about-menu .menu-iconic-text{ padding-left:10px !important;} -moz-appearance:none!important; #context-about-menu > menupopup:nth-child(1) menuitem{ url("chrome://global/content/bindings/menu.xml#menuitem-iconic") !important; list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACaUlEQVQ4jXWTX0iTYRSHX9SrLDWJoIugG6F/ULIokC5SIsIgiLwrhCnO9FPLtU2t5VSM5TSEsHRmFkXQhRcmiZEaYrWZTm0V5tRS5ip1iSup5P2ipwvFtpoHHs7V73nhvOcIEa50LoTORV33Z1QpsdhuhGXNYJyiJU7RroZ/Q1hCJToXiUXRJBZFU+fehpe9K4J65heXmJ4L4J1dwDu7gM8fYH5xCYutntVwZHoy9Y51QDRm5z4U91FUKTFb62jvGaD1iSOE9p4BzNa6vwL9gyg+kUADhTR9OczmnB2oUlJcUctaVVxRy+rro+ykgQKqA6eJyBBktjSiSompvIZxr5+3E74Qxr1+TOU1y4KIrFhuoeUOeWxRNpDfPUWlB1QpMVhsTPj8jHz4GMKEz4/BYlsWiKujxOQLzFMnuPZ8E7vOx6K5O4YqJXqzlY5eF62djhA6el3ozVaE0NgRtu+ImyBObqWHQ0AUefejUKUkr6hizRnkmyqDBNUSoT1IoTuFy/7jNM4loUqJYixjaGQSx7AHx7CHwSEvZ2aSOBtIRm+oChKUziBK3rP/SjyNaIkpEKhSkmMoZfjdJH1uD31uD+7XPta3COLbItEbq1a+UWNHlEwjdE2UDW7nyL0ERK4NVUqyz13k8bMh2rqctHU5edTdT+fTN/S+GCO38FKQoHYJkZ1Fdv8exKmNCPM3VCnJUExrziBDMQWtssaOuK4ilGOIC7cRth+oUqLNNfBqdIqHXc7/ujbX8M9BaewIjR3RDKJ5eQ8yFSMv3eN8/fmLdN25kJ6pGMNcZJBIlZLUtHR2H0gJS2paOn8Aay+SGqAm06EAAAAASUVORK5CYII=") !important; -moz-image-region: rect(0px 16px 16px 0px) !important; padding-left:4px !important;} #context-about-menu > menupopup:nth-child(1) menuitem .menu-iconic-text{ padding-left:10px !important;} #about-button-popup menuitem{ -moz-appearance:none!important; url("chrome://global/content/bindings/menu.xml#menuitem-iconic") !important; list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACaUlEQVQ4jXWTX0iTYRSHX9SrLDWJoIugG6F/ULIokC5SIsIgiLwrhCnO9FPLtU2t5VSM5TSEsHRmFkXQhRcmiZEaYrWZTm0V5tRS5ip1iSup5P2ipwvFtpoHHs7V73nhvOcIEa50LoTORV33Z1QpsdhuhGXNYJyiJU7RroZ/Q1hCJToXiUXRJBZFU+fehpe9K4J65heXmJ4L4J1dwDu7gM8fYH5xCYutntVwZHoy9Y51QDRm5z4U91FUKTFb62jvGaD1iSOE9p4BzNa6vwL9gyg+kUADhTR9OczmnB2oUlJcUctaVVxRy+rro+ykgQKqA6eJyBBktjSiSompvIZxr5+3E74Qxr1+TOU1y4KIrFhuoeUOeWxRNpDfPUWlB1QpMVhsTPj8jHz4GMKEz4/BYlsWiKujxOQLzFMnuPZ8E7vOx6K5O4YqJXqzlY5eF62djhA6el3ozVaE0NgRtu+ImyBObqWHQ0AUefejUKUkr6hizRnkmyqDBNUSoT1IoTuFy/7jNM4loUqJYixjaGQSx7AHx7CHwSEvZ2aSOBtIRm+oChKUziBK3rP/SjyNaIkpEKhSkmMoZfjdJH1uD31uD+7XPta3COLbItEbq1a+UWNHlEwjdE2UDW7nyL0ERK4NVUqyz13k8bMh2rqctHU5edTdT+fTN/S+GCO38FKQoHYJkZ1Fdv8exKmNCPM3VCnJUExrziBDMQWtssaOuK4ilGOIC7cRth+oUqLNNfBqdIqHXc7/ujbX8M9BaewIjR3RDKJ5eQ8yFSMv3eN8/fmLdN25kJ6pGMNcZJBIlZLUtHR2H0gJS2paOn8Aay+SGqAm06EAAAAASUVORK5CYII=") !important; -moz-image-region: rect(0px 16px 16px 0px) !important; padding-left:4px !important;} #about-button-popup menuitem .menu-iconic-text{ padding-left:10px !important;} }Hier mein Script about-ToolbarButton.uc.js
Code
Alles anzeigen(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); })(); -
andreas >> OK :oops:
Hast ja recht - kannst du meinen Beitrag evtl. noch abtrennen.
Dann könnten wir da weitermachen.
-
Das funktioniert in meiner Nightly.
ich meinte jedoch den Button "about Seiten öffnen" . Da werden in allen 66 er Profilen die Ordner wunschgemäß angezeigt. nur nicht im 68er? :-??
[attachment=0]about-button_68.0a1.jpg[/attachment] -
Hallo,
darf ich mich mal kurz einblenden:
bie mir funktioniert der Code about-button nicht (Nightly 68.0a1). Es werden alle about -Einträge angezeigt, jedoch ohne die kleinen Ordner davor.
Habe nach deinem Muster die about-button (moz-bindung) entsprechend umbenannt, weil vorher nicht einmal die Einträge gezeigt wurden.
Gibt es da noch einen Dreh, wie ich die Ordner dazu zaubern kann? -
Ja jetzt, aber im Screenshot Nr. 122 gab es den noch nicht :wink:
Ein Azubi ist eben nicht so schnell - habe noch (kurz mal)) nachgebessert - und das mit Erfolg.
-
Und wo ist der Eintrag CSSWeb-Ordner :-??Hier ist er:
[attachment=0]Extras_config_menu_Nightly_68_1.jpg[/attachment] -
[quote='2002Andreas','https://camp-firefox.de/forum/index.ph…226#post1111226']
if (this.CSSWebOrdner) {
menupopup.appendChild(this.createME("menuitem","CSSWeb-Ordner","uProfMenu.dirOpen(uProfMenu.getPrefDirectoryPath('UChrm')+uProfMenu.getDirSep()+'CSSWeb');","uProfMenu_folder"),0);
}Diesen Eintrag habe ich mir stibitzt - mit Erfolg!
[attachment=0]Extras_config_menu_Nightly_68.jpg[/attachment] -
Das versteh ich nicht. Du hast doch jetzt schon eine Ochsentour hinter dir.
Die Ochsentour ist (war) ziemlich anstrengend.ZitatWie ich es hier herauslesen konnte, wird nur die extra_config_menu.js und die extra-config-menu.css für die Ausführung benötigt.
So ist es.Zitat von BüssenDie *.css-Datei entsprechend in den CSSWeb-Ordner u. der importbefehl in userContent.css.
ZitatWelche .css-Datei? Mach bitte genaue Angaben. Meinst du die extra-config-menu.css? Wenn ja, dann muss die in den Ordner CSS und der @import-Befehl in die userChrome.css. Die Datei extra-config-menu.css verändert nicht die about-Seiten, sondern die vom Skript geschaffene Oberfläche.
Die Ochsentour habe ich mit diesem Hinweis beenden können. Da habe ich immer wieder versucht, die extra-config-menu.css in den CSSWeb-Ordner zu bugsieren.
Das war eindeutig der Fehler! :klasse:
Das hat jetzt ein Ende - weil es nun funktioniert.Nun fehlt mir nur noch ein Tipp für den Dialog-Button. Wenn ich diesen aufrufe - fehlen die Ordner für die Einträge.
Ansonsten erstmal herzlichen Dank!
-
[quote='Büssen','https://camp-firefox.de/forum/index.ph…150#post1111150']
Nun fehlen nur noch die "Symbole" :-??? Muss aber erst mal kurz pausieren.Die hattest du doch. Du hättest den Hinweis von Mithrandir nicht beachten müssen. Mithrandirs CSS-Datei ist:
Nun stehe ich wieder am Anfang (s.Bild #92). Wieder lässt sich unten das "about" nicht öffnen - :-??
Wie ich es hier herauslesen konnte, wird nur die extra_config_menu.js und die extra-config-menu.css für die Ausführung benötigt.Die *.css-Datei entsprechend in den CSSWeb-Ordner u. der importbefehl in userContent.css.
-
Zitat
Auf GitHub ist auch eine funktionierende CSS hochgeladen worden - damit bekommen alle items auch Symbole verpasst.
Habe ich mir inzwischen geladen - es fehlen jedoch auch mit dieser CSS-Datei die Symbole. :-???Zitat von BüssenWas aber immer noch nicht funktioniert, ist tatsächlich meine about-addons.css
Diese Datei habe ich wieder zum Laufen gebracht.Nun fehlen nur noch die "Symbole" :-??? Muss aber erst mal kurz pausieren.
-
Für Büssen und Co.: Ich habe eben unter https://github.com/ardiman/userCh…ras_config_menu die wieder funktionierende Funktion hochgeladen.Hallo,
vielen Dank für die Version. Inzwischen war ich auch schon soweit, dass die Version aus dem Forum funktioniert:
[attachment=0]Extras_config_menu_Nightly_1.jpg[/attachment]Was dabei (wieder) verloren ging - sind die kleinen Ordner.
[quote='milupo']Bitte drücke dich eindeutiger aus: Was meinst du hier, den Eintrag about-addons im Skript oder die Datei about-addons.css? Im Falle des Letzteren, überprüfe deine Datei userContent.css. Hast du die überhaupt auf dem PC?[quote]
Meine Antwort: Ich sehe im Hintergrund bereits wieder deinen mahnenden Zeigefinger.
Gemeint war mit obigem Eintrag - nur die rot unterlegte about-Zeile. Da hat sich nichts getan. Inzwischen (s.a. Foto) tut sich da wieder etwas.
Was aber immer noch nicht funktioniert, ist tatsächlich meine about-addons.css
Ich hatte den CSSLoader-Script auf dem PC auch im Betrieb, habe diesen jedoch bereits umbenannt. Der Klick auf meine Scripte (39) öfnet auch ein neues Fenster.
Soweit funktioniert es wieder - aber mir fehlen die kleinen Ordnersymbole?? :-?? -
Hallo,
nach einigem Umpacken habe ich folgendes Bild geschossen:
[attachment=0]Extras_config_menu_Nightly.jpg[/attachment]
Meine Scripte (oben) werden angezeigt
Klick auf about - Fehlanzeige :-??
Hängt es damit zusammen, dass auch about-addons nicht funktioniert?
Einstellungen - funktioniert. -
Hallo,
also dieser Hinweis von edvoldiZitatIm aktuellem Nightly 68.0a1 funktioniert wieder alles im Add-ons Manager und auch auf den anderen Seiten.
hat mich zu obiger Frage hingeführt.
Nachdem ich geschrieben habe:ZitatAuf dem PC habe ich noch keine Änderungen, wie hier im Thread beschrieben, vorgenommen.
bin mir nicht sicher, ob ich mit meinem Anliegen richtig verstanden wurde.Alles, was ich bisher in diesen Beiträgen geschrieben habe, bezog sich nur auf mein Notebook.
Den PC hatte ich in dieser Angelegenheit nicht angefasst, daher sind auch noch die Original-Daten auf dem PC. Nachdem ich heute evtl. auf dem PC nachbessern wollte,
hat mich der Hinweis (edvoldi) verunsichert.Also, nach Aufruf "Extra Config Menu" und auch bei "About Seiten öffnen" - passiert rein garnichts.
Was tatsächlich noch funktioniert: Mittelklick auf Icon "Extra....... " öfnnet die "about:config-Seite" :-?? -
Hallo,
habe auf dem PC die neueste Version Nightly 68.0a1 v. 03.05.2019.
Auf dem PC habe ich noch keine Änderungen, wie hier im Thread beschrieben, vorgenommen.
Da sich About und Extra Config Menu bei Aufruf nicht rühren, muss ich nunmehr alle hier vorgeschlagenen Änderungen erst einfügen? -
So schnell gebe ich nicht auf - aber momentan nervt mich die Nightly!!
