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?
about-button Icons streiken im Nightly
-
Büssen -
7. Mai 2019 um 18:30 -
Erledigt
-
-
wie ich die Ordner dazu zaubern kann?Mit diesem Code werden hier im Nightly alle Icons angezeigt.
CSS
Alles anzeigen#submenu-ucjs-items, #submenu-about-items{ margin-left:3px!important; } menupopup#ExtraConfigMenu-popup menuitem:hover, menupopup#ExtraConfigMenu-popup menu:hover{ color:white!important; cursor:pointer !important; } #ExtraConfigMenu-button > dropmarker, #ExtraConfigMenu-button > hbox > .toolbarbutton-menu-dropmarker { display: none!important; } menupopup#ExtraConfigMenu-popup menu:hover >.menu-right{ list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADPUlEQVR42mWTbWgUVxSG33tn5maz69rE7MYtGzF2xWiSgloRQWq1ftBE0YClQlgU2jSUFokxfhUKFcSmxfijpZTWalvoQn+kfqVCqW0h9oepFRqIlNBJNzTEbTaiu1mTnezunY+eGWvQOvAyM2fuec65c97L8L9rXtPRyqrYyviSmoWbFc5rKGQWS1IfGUt9N6MPXMxf+8x8dD179KV2/zdttdFIz32j9NRYOgPbDTqAUDli0RA0hf05PDK6784XbTeeACzrOn8iGAi8M5rOQlEEuKKAMe59c2wbliXpwUJDbXUhOXZ7V+rTvVfnAJHXv2wJh8MXUnfzTBVlUFUXoIFz7jZAAAuWKWHKoqel0cop/Y+hxlzvkRQrW/MKj73Yqk9kjZgm/Hhrax1yRQeXhrIEULwtVJQzJF6tx55PbiB1LwduS1QEtM/107vbWaDl5AvhxXX905Qkyvw43LwcndueQe/vd9H94ySKpo3IPI6fOxrw/PvXMTKRgSwYCPrYzJ3BqyEWeu2rYxZTu1WqLnwBHGpahgNbar29D08WcbgvDSklfnhzKTae+g0j/9xDqWhAhYn7Y7fWsPn7zvVwzdflVn8I6Ni8eG4y0wULb19J4+OXo9jUcxO6C6AOLDmLwoT+EvPHz7xLycc1SnYhh5rqqIMHANt2cGYgi8u3svj+jdh/HWSogzxBSGl9PStv6d6pVUYvC58f2sN/sHUJMoaJY30pXB/NIxJk+Gn/Cmz4YGAOIIuGLCZ/DTGxbm+5qNs4TtWrVFGOIzvqsWl5NTp6/8LktO056en5Cq51rcb6937xAJRMmu3Lf922y/MBbeOgKnynNeFDfU0I4zmTXEhGIh+4Y1SYjW31lbgyeBuGQcmlgmnOZNbOfntw0ANoq3Zz0dh0UdXKdiqagOIZSQVnrpEcz4m2ZZKZSq6RHFKnkWj/8DErR7Z3Clnd8JF01Hauasw10ZyVnQcA25J5H7cO0Fk4+9hZSCQSMbotMqRTkZyyt9xM23v0LBbkSvAQYT/sxir293ML+blokA0LhU1ReDwejydZa2sra25ufpYCLqSCFCQJUsCiMTIqwZlXJ0+SrjVILiDZ398/9C+BxGPXQXJ2bQAAAABJRU5ErkJggg==") !important; -moz-image-region: rect(0px 15px 15px 0px) !important; } .uProfMenu_clipboard{ -moz-appearance:none!important; background: url("data:image/gif;base64,R0lGODlhEAAQAOZFAP///wBdAH+LmP//AIuXo5ulr4GMmVtkbeTn6WNrdGJqcwBEANzl7J6nse3z+QBJAABIAOzy98HN1ys2QgBCABeuEQBAAFBZY11ncCe6IzK1GyczPmFpcfb3+SivG5+uvNXf6XmFkmVueTA7Rru/w/r8/oaSngOhEQ6iDvX291DVPu7w8mRsdWx2gO/x80dQW/L3/aCpsi+6Hd3l7Njc3+zu8K22vximDhuqDyk1QCgzP3N9iefp6xytHvj5+ik0P+nr7Orw9rrG0oKNmk9YYv///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAEUALAAAAAAQABAAAAeXgAQERYSFhodFg4iLiYyLio6GJgYClZaXQwKEIQCdnp8APgeEOzUFDAinqTOpo4QtKw0SPLIpnySFIjAOEUG8AAHBAYYYLjEfQDSdAQMDw4UHJTZCHcDBAz3CRQkvOjk/G8DNAx4ZztuIzCcoNzgVAQlEHBcsCgoAEBYBKhoBCw9FJoCYYGjZABnPihgYYcCQAXwU/hEKBAA7") no-repeat !important; padding-left:6px!important; background-position:5px 2px!important; } .uProfMenu_clipboard:hover{ -moz-appearance:none!important; background: red url("data:image/gif;base64,R0lGODlhEAAQAOZFAP///wBdAH+LmP//AIuXo5ulr4GMmVtkbeTn6WNrdGJqcwBEANzl7J6nse3z+QBJAABIAOzy98HN1ys2QgBCABeuEQBAAFBZY11ncCe6IzK1GyczPmFpcfb3+SivG5+uvNXf6XmFkmVueTA7Rru/w/r8/oaSngOhEQ6iDvX291DVPu7w8mRsdWx2gO/x80dQW/L3/aCpsi+6Hd3l7Njc3+zu8K22vximDhuqDyk1QCgzP3N9iefp6xytHvj5+ik0P+nr7Orw9rrG0oKNmk9YYv///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAEUALAAAAAAQABAAAAeXgAQERYSFhodFg4iLiYyLio6GJgYClZaXQwKEIQCdnp8APgeEOzUFDAinqTOpo4QtKw0SPLIpnySFIjAOEUG8AAHBAYYYLjEfQDSdAQMDw4UHJTZCHcDBAz3CRQkvOjk/G8DNAx4ZztuIzCcoNzgVAQlEHBcsCgoAEBYBKhoBCw9FJoCYYGjZABnPihgYYcCQAXwU/hEKBAA7") no-repeat !important; padding-left:6px!important; background-position:5px 2px!important; } .uProfMenu_ucjs{ -moz-appearance:none!important; background: url("data:image/gif;base64,R0lGODlhEAAQAOZQAP///wBmAPv6+gBzAIjtUXnePiczPqn/cSgzP/n8/vf5/LvFz+3y9/D0+bzG0AAbiSo1Qb/J0/b4+5z/Zuzx9rzH0WJqdbvFzvz9/m14g7jBzB6q/3J+iABky2Ntdw2JB8HL1b/J0sbP2Gpzf/n7/K7h/xSNCiiXFsrT2/38/Pr6+8XJzj+fDiaWFSKs/7nnGOfr7ubp7CSv/wBdyACZAAuIBg6gBxelDNbz/3uIlHmDkABaxc3w/xOMCQBgyUpUXun3BQAbigAcigmIBQBfyQBDsABcyPn6/MfQ2UpTXgqeBc3V3sPN1lzIMYyVms7x/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAFAALAAAAAAQABAAAAe/gFCCg4IBhoeEiQEHjI0BiYUTTUAvLQMmEwEdRDNGOwIBBCcDLAMAAwQBPiVPPDigBKamp6kdMhsbLrCzpx+pRUIPD0GwPbIfNqlOAMwAoAU3NQNDSjQFATnNADDPBd7eAQI6SyIiSCgxoIeGAiscAEckGEwYKgL3+CkcGQASCgkREij4F1CBBAAZRoC4sMBBCAcLGj5ccAHECA8AKDBooKEBg40dGVAA4MGCtgontVlIgsCAAQQQWr6M6RLBj0AAOw==")no-repeat !important; padding-left:5px !important; background-position:5px 2px!important; } .uProfMenu_ucjs:hover{ -moz-appearance:none!important; background: red url("data:image/gif;base64,R0lGODlhEAAQAOZQAP///wBmAPv6+gBzAIjtUXnePiczPqn/cSgzP/n8/vf5/LvFz+3y9/D0+bzG0AAbiSo1Qb/J0/b4+5z/Zuzx9rzH0WJqdbvFzvz9/m14g7jBzB6q/3J+iABky2Ntdw2JB8HL1b/J0sbP2Gpzf/n7/K7h/xSNCiiXFsrT2/38/Pr6+8XJzj+fDiaWFSKs/7nnGOfr7ubp7CSv/wBdyACZAAuIBg6gBxelDNbz/3uIlHmDkABaxc3w/xOMCQBgyUpUXun3BQAbigAcigmIBQBfyQBDsABcyPn6/MfQ2UpTXgqeBc3V3sPN1lzIMYyVms7x/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAFAALAAAAAAQABAAAAe/gFCCg4IBhoeEiQEHjI0BiYUTTUAvLQMmEwEdRDNGOwIBBCcDLAMAAwQBPiVPPDigBKamp6kdMhsbLrCzpx+pRUIPD0GwPbIfNqlOAMwAoAU3NQNDSjQFATnNADDPBd7eAQI6SyIiSCgxoIeGAiscAEckGEwYKgL3+CkcGQASCgkREij4F1CBBAAZRoC4sMBBCAcLGj5ccAHECA8AKDBooKEBg40dGVAA4MGCtgontVlIgsCAAQQQWr6M6RLBj0AAOw==")no-repeat !important; padding-left:5px !important; background-position:5px 2px!important; } #submenu-ucjs{ -moz-appearance:none!important; background: url("data:image/gif;base64,R0lGODlhEAANAJECAP7/AFFRUQAAAAAAACH5BAEAAAIALAAAAAAQAA0AAAInlI+ZwawYgJThiThnawbnD1QXCFbbuYUjSUUmqzkry820aJcQegoFADs=") no-repeat !important; padding-left:5px !important; background-position:5px 2px!important; } #submenu-ucjs:hover{ -moz-appearance:none!important; background: red url("data:image/gif;base64,R0lGODlhEAANAJECAP7/AFFRUQAAAAAAACH5BAEAAAIALAAAAAAQAA0AAAInlI+ZwawYgJThiThnawbnD1QXCFbbuYUjSUUmqzkry820aJcQegoFADs=") no-repeat !important; padding-left:5px !important; background-position:5px 2px!important; } .uProfMenu_folder{ -moz-appearance:none!important; background: url("data:image/gif;base64,R0lGODlhEAANAJECAP7/AFFRUQAAAAAAACH5BAEAAAIALAAAAAAQAA0AAAInlI+ZwawYgJThiThnawbnD1QXCFbbuYUjSUUmqzkry820aJcQegoFADs=") no-repeat !important; padding-left:5px !important; background-position:5px 2px!important; } .uProfMenu_folder:hover{ -moz-appearance:none!important; background: red url("data:image/gif;base64,R0lGODlhEAANAJECAP7/AFFRUQAAAAAAACH5BAEAAAIALAAAAAAQAA0AAAInlI+ZwawYgJThiThnawbnD1QXCFbbuYUjSUUmqzkry820aJcQegoFADs=") no-repeat !important; padding-left:5px !important; background-position:5px 2px!important; } .uProfMenu_edit{ -moz-appearance:none!important; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB3ElEQVQ4jY2RT2gTQRTGf4nbJi2GYqEtBS8V9aASEC82eNGrIBJRUE/Si2cvUiSyF+kxaEt66aGgHixWehUR8e+lldrUhARarTXVYoghySTrsN2Mh7rLbnYLPni8N/Pe9833MSFd1xVAPB4nm836KoCu6yE6It0bUVstSdiyLBKJBMlkMhRU/xEoN3jl1QfV7BvaPaRSKSVNqaYzGaeKpqGmMxlVqdaVrutKmlK5SaaeLKkLV28pD8FeaRPYvfUmpubSF1V6alYBaEIIAH43/lCpi06rAEzcmwDgfHwVUxgMflngyuRCCECzl/pjUfpjUR94/M6403e9j7H81iJy8DiQw0MghORnrRGoAOCIuI002tTKinMPcs6vaO6lnqi+J0HXxhyL7yzqI9eBx869JqUE4Gu5SLd2MhB8tDpDvdqm2VC8bg16Zo6CtR9rHBh56gPv3zdMd+MzK0sWhy/fh2cbnnnYNE0AiqUi2zvSl6dKL6hstxFmL0Onb2Ir9ikofC8gThie4WjPWVbXh2nn51k8dI0zAfbCbguftlqeNNZr3J3JEz52ifncMgC2YkeBYey+uvnrGx8ny57hSwoQgecP8wz0DQS877Kw+agUuNAZPgUAYzfG/gscFH8BK6UWeTrOl9gAAAAASUVORK5CYII=")no-repeat !important; padding-left:6px !important; background-position:5px 2px!important; } .uProfMenu_edit:hover{ -moz-appearance:none!important; background: red url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB3ElEQVQ4jY2RT2gTQRTGf4nbJi2GYqEtBS8V9aASEC82eNGrIBJRUE/Si2cvUiSyF+kxaEt66aGgHixWehUR8e+lldrUhARarTXVYoghySTrsN2Mh7rLbnYLPni8N/Pe9833MSFd1xVAPB4nm836KoCu6yE6It0bUVstSdiyLBKJBMlkMhRU/xEoN3jl1QfV7BvaPaRSKSVNqaYzGaeKpqGmMxlVqdaVrutKmlK5SaaeLKkLV28pD8FeaRPYvfUmpubSF1V6alYBaEIIAH43/lCpi06rAEzcmwDgfHwVUxgMflngyuRCCECzl/pjUfpjUR94/M6403e9j7H81iJy8DiQw0MghORnrRGoAOCIuI002tTKinMPcs6vaO6lnqi+J0HXxhyL7yzqI9eBx869JqUE4Gu5SLd2MhB8tDpDvdqm2VC8bg16Zo6CtR9rHBh56gPv3zdMd+MzK0sWhy/fh2cbnnnYNE0AiqUi2zvSl6dKL6hstxFmL0Onb2Ir9ikofC8gThie4WjPWVbXh2nn51k8dI0zAfbCbguftlqeNNZr3J3JEz52ifncMgC2YkeBYey+uvnrGx8ny57hSwoQgecP8wz0DQS877Kw+agUuNAZPgUAYzfG/gscFH8BK6UWeTrOl9gAAAAASUVORK5CYII=")no-repeat !important; padding-left:6px !important; background-position:5px 2px!important; } #submenu-about, .uProfMenu_about{ -moz-appearance:none!important; background: url("data:image/gif;base64,R0lGODlhEAAQANUvAP////r7/fj6++/z98kdAPH1+PT2+e3x9unv85kAAP8zAPb4+nqHkyczPiYyPm54g/D0+O7y9mVwevX4+nB6hzA7RoKNmv7+/3N+io6apXqGkyk1QDQ/SWNtd2t1geju8nWBjXqGkmhzfunv9DdCTWZveuvw9Orv8+zw9fP1+XyIlXiDkYuXoyUxPoyYo////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAC8ALAAAAAAQABAAAAadwJdw+MpkiEgiCwBwJS0qBkOzYjJXGqnKErJaLxcvMwQCBM6Es1oNAGEAAgFBHq/HARgKYLJQEBQLCwR/CxMAFA8AKQYEjAaPBgoGKQAPHgAQBQmaBZ0KnRAAHiIAEQOnqASoEQAiEgAoB7KzCbUHKAASHQAfCL4nJiYnvggfAB0lYgAjI8olFRsNDQ4tXg4O0hsVSRxMHEngJCTgQQA7") no-repeat !important; background-position:5px 2px!important; } #submenu-about:hover, .uProfMenu_about:hover{ -moz-appearance:none!important; background: red url("data:image/gif;base64,R0lGODlhEAAQANUvAP////r7/fj6++/z98kdAPH1+PT2+e3x9unv85kAAP8zAPb4+nqHkyczPiYyPm54g/D0+O7y9mVwevX4+nB6hzA7RoKNmv7+/3N+io6apXqGkyk1QDQ/SWNtd2t1geju8nWBjXqGkmhzfunv9DdCTWZveuvw9Orv8+zw9fP1+XyIlXiDkYuXoyUxPoyYo////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAC8ALAAAAAAQABAAAAadwJdw+MpkiEgiCwBwJS0qBkOzYjJXGqnKErJaLxcvMwQCBM6Es1oNAGEAAgFBHq/HARgKYLJQEBQLCwR/CxMAFA8AKQYEjAaPBgoGKQAPHgAQBQmaBZ0KnRAAHiIAEQOnqASoEQAiEgAoB7KzCbUHKAASHQAfCL4nJiYnvggfAB0lYgAjI8olFRsNDQ4tXg4O0hsVSRxMHEngJCTgQQA7") no-repeat !important; background-position:5px 2px!important; }
[attachment=0]Screenshot (336).png[/attachment]
-
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] -
den Button "about Seiten öffnen"
Dann habe ich das verwechselt, sorry.
Da ich das Script dazu nicht nutze habe ich die Icons natürlich nicht.Aber warum postest du deinen Code denn nicht mal hier ins Antwortfenster, dann könnte man sich den mal anssehen.
Und am besten auch gleich das genaue Script dafür.Unabhängig davon, ich hätte es besser gefunden wenn du einen eigenen Thread dazu eröffnet hättest. :wink:
-
andreas >> OK :oops:
Hast ja recht - kannst du meinen Beitrag evtl. noch abtrennen.
Dann könnten wir da weitermachen. -
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); })();
-
Du hast im 68er folgendes gemacht:
1. aboutbutton.uc.js in den Ordner chrome kopiert
2. zugehörige Datei aboutbutton.css in den Ordner CSSWeb kopiert
3. den @import-Befehl in der Datei userContent.css eingetragen: @import "CSSWeb/aboutbutton.css"; -
Gleich auf den ersten Blick :wink:
Das ist so nicht richtig:
#context-about-menu{
-moz-appearance:none!important;
url("chrome://global/content/bindings/menu.xml#menu-iconic") !important;
list-style-image: url -
aboutbutton.uc.js
Wo finde ich denn dieses Script?
aboutbutton.css
Es ist ein Unterschied ob für Fx 66 oder Nightly! -
Teste bitte mal im Nightly, ich habe das Script ja nicht hier.
CSS
Alles anzeigen/* about-button Menü und Rechtsklick Kontextmenüeinträge */ #context-about-menu{ -moz-appearance:none!important; background: 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==")no-repeat !important; background-position:5px 2px!important;} #context-about-menu > menupopup:nth-child(1) menuitem{ background: 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=")no-repeat !important; -moz-image-region: rect(0px 16px 16px 0px) !important; background-position:5px 2px!important;} #about-button-popup menuitem{ -moz-appearance:none!important; background: 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=")no-repeat !important; -moz-image-region: rect(0px 16px 16px 0px) !important; background-position:5px 2px!important;}
-
Wo finde ich denn dieses Script?
Hier:https://github.com/Endor8/userChr…on/Firefox%2066
ZitatEs ist ein Unterschied ob für Fx 66 oder Nightly!
Das Skript funktioniert bei mir im Nightly. Aber vergesst mich: Ich habe Büssen missverstanden, als er etwas von Ordnern schrieb, ich dachte er meint die Menüeinträge. Er meinte aber die Ordnersymbole. Drum vergesst Beitrag #7. Die aboutbutton.css bei Endor ist noch mit -moz-binding. -
Hier:
Danke :klasse: -
Teste bitte mal im Nightly
Sieht hier dann so aus mit dem Code:[attachment=0]Screenshot (337).png[/attachment]
-
Danke :klasse:
Gern geschehen. Wie immer. -
Ich finde es immer besser, gleich das Script und den CSS Code dazu hier zu posten.
Erspart die Nachfrage und somit Umstand :wink:
-
Habe das Beispiel noch nciht getestet.
Im 66.0.4 sieht es so aus:[attachment=0]about-button_66.04.jpg[/attachment]
-
Im 66.0.4 sieht es so aus:
Siehe mit meinen Code für Nightly 68 :wink: -
Oder meinen Css Code von hier:
https://github.com/Endor8/CSS/tre…pte/AboutbuttonMfg.
Endor -
Es ist ein Unterschied ob für Fx 66 oder Nightly!
Wolltest du mir hiermit verklickern, dass in der 68er Nightly der @import-Befehl in die userChrome.css muss? Denn nur so funktioniert der Aufruf der aboutbutton.css bei mir. -
Wolltest du mir hiermit verklickern
Nein nein... :wink:Im Nightly muss der Code für die Icons anders lauten, das meinte ich damit.
-