Hallo @laubenpieper .
Herzlichen Glückwunsch zum Geburtstag!
Bleib Gesund.
Mfg.
Endor
Hallo @laubenpieper .
Herzlichen Glückwunsch zum Geburtstag!
Bleib Gesund.
Mfg.
Endor
Hallo Boersenfeger .
Alles alles Gute zum Geburtstag!
Vor allem viel Gesundheit.
Bleibt gesund und pass auf dich auf.
Mfg.
Endor
Christopher Plummer ist tot.
https://www.sueddeutsche.de/kultur/christo…r-tot-1.5197896
R.I.P.
Mfg.
Endor
Hallo Speravir
Habe ich getestet und übernommen.
Auch dafür nochmals vielen Dank für den Hinweis.
Mfg.
Endor
Hallo zusammen.
hier zwei neue Versionen der Scripte, die hier auch im Nightly funktionieren:
RestartFirefox_plus.uc.js Schaltfläche für Symbolleiste + Eintrag bei Datei
// RestartFirefox_plus.uc.js
(function() {
if (location != 'chrome://browser/content/browser.xhtml') return;
try {
CustomizableUI.createWidget({
id: 'restart-button',
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 props = {
id: 'restart-button',
class: 'toolbarbutton-1 chromeclass-toolbar-additional',
removable: false,
label: 'Neustart',
tooltiptext: 'Neustart (mit Rechts- und Mittelklick wird userChrome.js-Cache geleert)',
style: 'list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89%2BbN%2FrXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz%2FSMBAPh%2BPDwrIsAHvgABeNMLCADATZvAMByH%2Fw%2FqQplc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%2Ba31%2FDP9Z28YUmqoqhCKcG2EYD6ZMUTojZ8WHmsqD%2BI6wnWFajugCkuuZaV%2FZS47wp99R7E3LbxPV6rtr7dV1pmyuBWs3hr7dZ380LC2tzseffvUHm86C1JC2A%2FrGcn509cn%2BPvTk9ibc1R06qL91Ms1CadF000ll9rVS2VykLzVr0lHOgtpuJ9yUFyXxqhKZjbH2nJRI9IZwyw2kXjvXV%2FIOWgaBcc2a%2BtjdVXR1J3iBDx8QUpQUJAuJJclseogxz441H5vrPO72cm0VSyVPJq27ZaHm8ST3Y0M9d9Kkr19A1A1x4VIObTGBfNrsJ5XmE9b6KqgvrOGhr1Vns2sgeNIkXiigvHf1liZuHWZYjINSEXRVLewZjN6bYmYbvN4rcDvVzFKLnOpErMLBpvbklClznyyyPDA6DjTX3wJWICr%2Bnb3ffjXSGpl5Nxnn88uh2ORUCBaHfVQU%2BsjVuGhKqJT5lFYShr8fGH4j42bH53EnJ4EtgEEPQOTzHx9mqXLl9AT9TS82RvreOmVcMTXVh4JhIr5kp3LFu6u3Lk%2ByMylQazU3ENYAvw3AFUTimFqj5i7AAAAAElFTkSuQmCC)',
onclick: 'if (event.button == 0) { \
Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit); \
}; \
if (event.button == 1 || event.button == 2) { \
Services.appinfo.invalidateCachesOnRestart(); \
Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit); \
};'
};
for (var p in props)
toolbaritem.setAttribute(p, props[p]);
return toolbaritem;
}
});
CustomizableUI.registerToolbarNode(tb);
} catch(e) { };
var menuitem = document.createXULElement('menuitem');
var props = {
id: 'restartfirefox-fileMenu2',
label: 'Neustart',
tooltiptext: 'Neustart (mit Rechts- und Mittelklick wird userChrome.js-Cache geleert)',
onclick: 'if (event.button == 0) { \
Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit); \
}; \
if (event.button == 1 || event.button == 2) { \
Services.appinfo.invalidateCachesOnRestart(); \
Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit); \
};'
};
for (var p in props)
menuitem.setAttribute(p, props[p]);
document.getElementById('menu_FilePopup').insertBefore(menuitem, document.getElementById('menu_FileQuitItem'));
var pane1 = document.getElementById('appmenuPrimaryPane');
if (pane1) {
menuitem = document.createXULElement('menuitem');
var props = {
id: 'restartfirefox-fileMenu',
class: 'menuitem-iconic',
label: 'Neustart',
tooltiptext: 'Neustart (mit Rechts- und Mittelklick wird userChrome.js-Cache geleert)',
onclick: 'if (event.button == 0) { \
Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit); \
}; \
if (event.button == 1 || event.button == 2) { \
Services.appinfo.invalidateCachesOnRestart(); \
Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit); \
};'
};
for (var p in props)
menuitem.setAttribute(p, props[p]);
pane1.insertBefore(menuitem, document.getElementById('appmenu-quit'));
};
})();
Alles anzeigen
RestartFirefox-Hamburger.uc.js Eintrag für Hamburger Schaltfläche bzw. dessen Kontextmenü
(function() {
var menuitem = document.createXULElement('toolbarbutton');
menuitem.id = 'uc_menu_Restart_H';
menuitem.classList.add('subviewbutton', 'subviewbutton-iconic');
menuitem.setAttribute('label' , 'Neustart');
menuitem.setAttribute('tooltiptext' , 'Neustart');
menuitem.style.listStyleImage= 'url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="context-fill" fill-opacity="context-fill-opacity" d="M15,1a1,1,0,0,0-1,1V4.418A6.995,6.995,0,1,0,8,15a6.954,6.954,0,0,0,4.95-2.05,1,1,0,0,0-1.414-1.414A5.019,5.019,0,1,1,12.549,6H10a1,1,0,0,0,0,2h5a1,1,0,0,0,1-1V2A1,1,0,0,0,15,1Z"/></svg>\')';
menuitem.setAttribute('oncommand' , "Services.appinfo.invalidateCachesOnRestart() || Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit);");
var refItem = document.getElementById('appMenu-viewCache').content.getElementById('appMenu-quit-button');
refItem.parentNode.insertBefore(menuitem, refItem);
})();
Alles anzeigen
Mfg.
Endor
Hallo Boersenfeger
Der ist neu:
CSS Code:
#help_taskManager{
appearance:none!important;
background: url("..//icons/Bild49.gif") no-repeat !important;
min-height: 24px!important;
padding-left:4px!important;
background-position:6px 5px!important;}
Symbol: ![]()
Mfg.
Endor
Hallo zusammen.
Habe vor einiger Zeit, dieses Script entdeckt:
scrollbars-minimal.uc.js
Damit wird die Scrollbar nur noch ganz dünn dargestellt.
Script:
(function() {
var css =`
scrollbar {
z-index: 2147483647 !important;
position: relative !important;
}
scrollbar,
scrollbar * {
-moz-appearance: none !important;
margin: 0px !important;
padding: 0px !important;
border: 0px !important;
box-shadow: none !important;
}
scrollbar[orient="vertical"] {
-moz-margin-start: 0px !important;
max-width: 12px !important;
min-width: 12px !important;
/*background: #38383d !important;*/
background: transparent !important;
background-size: 12px 12px !important;
background-repeat: repeat-y !important;
background-position: 50% 0% !important;
cursor: default;
}
scrollbar[orient="horizontal"] {
margin-top: 0px !important;
max-height: 12px !important;
min-height: 12px !important;
/*background: #38383d !important;*/
background: transparent !important;
background-size: 12px 12px !important;
background-repeat: repeat-x !important;
background-position: 0% 50% !important;
cursor: default;
}
/*scrollbar[orient="vertical"]:hover {
background: #ddd !important;
transition: all 0.08s !important;
}
scrollbar[orient="horizontal"]:hover {
background: #ddd !important;
transition: all 0.08s !important;
}*/
scrollbar thumb[orient="vertical"] {
min-height: 24px !important;
width: 12px !important;
min-width: 12px !important;
max-width: 12px !important;
}
scrollbar thumb[orient="horizontal"] {
min-width: 24px !important;
height: 12px !important;
min-height: 12px !important;
max-height: 12px !important;
}
scrollbar thumb {
border-radius: 6px !important;
/*background: #38383d !important;*/
background: transparent !important;
border: 2px solid rgba(0,255,255,0) !important;
box-shadow: 0 0 0 8px #23a1ff inset !important;
transition: all 0.04s !important;
opacity: 1 !important;
}
scrollbar:hover thumb {
box-shadow: 0 0 0 8px #1876bc inset !important;
}
scrollbar thumb:active {
box-shadow: 0 0 0 8px #0c3c60 inset !important;
background: #1876bc !important;
}
scrollbar, scrollcorner {
-moz-appearance: none !important;
/*background-color: #38383d !important;*/
background: transparent !important;
background-image: unset !important;
}
/*scrollbar gripper {
box-shadow: 0 0 0 8px red inset !important;
background: blue !important;
}*/
/* no buttons */
scrollbar:hover scrollbarbutton {
box-shadow: 0 0 0 8px #23a1ff inset !important;
opacity: 1 !important;
}
scrollbar:active scrollbarbutton {
box-shadow: 0 0 0 8px #1876bc inset !important;
opacity: 1 !important;
}
scrollbar scrollbarbutton:hover {
box-shadow: 0 0 0 8px #1876bc inset !important;
opacity: 1 !important;
}
scrollbar scrollbarbutton:active {
box-shadow: 0 0 0 8px #0c3c60 inset !important;
background: #1876bc !important;
opacity: 1 !important;
}
scrollbar scrollbarbutton {
min-height: 12px !important;
min-width: 12px !important;
max-height: 12px !important;
max-width: 12px !important;
height: 12px !important;
width: 12px !important;
border-radius: 6px !important;
/*background: #38383d !important;*/
background: transparent !important;
border: 2px solid rgba(0,255,255,0) !important;
/*box-shadow: 0 0 0 8px #23a1ff inset !important; */
box-shadow: 0 0 0 8px rgba(100,100,100,0.3) inset !important;
transition: all 0.04s !important;
opacity: 1 !important;
}`;
var sss = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService);
var uri = makeURI('data:text/css;charset=UTF=8,' + encodeURIComponent(css));
sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);
})();
Alles anzeigen
Sieht damit dann so aus:
Vielleicht kann es ja jemand von euch brauchen.
Mfg.
Endor
Teste für Hilfe - Über Firefox diesen CSS Code:
/* About : Dialog */
@-moz-document url-prefix("chrome://browser/content/aboutDialog.xhtml"){
#version:before{
content: "Boersenfeger seine Nightly-Version ist:";
font-size:17px !important;
font-weight: bold! important;
color:#F08080 !important;
margin-right: 6px !important;
margin-left: -24px !important;}
#version {
font-weight: bold! important;
font-size:16px !important;
margin-top: 30px !important;
color: #FFFFFF !important;}
#aboutDialog{
height: 350px !important;}
#agent{
margin-left: -140px !important;
margin-bottom: 10px !important;
max-height: 55px !important;
margin-right: 84px !important;
margin-top: 30px !important;
padding-top: 5px !important;}
#agent{
appearance: none !important;
border-radius:14px!important;}
#agent .textbox-input-box{
margin-top: -1px !important;
margin-left: 12px !important;}
#clientBox{
background-color: #202340 !important;}
#bottomBox {
background-color: #202340 !important;
margin-bottom: 30px !important;}
#aboutDialog, #aboutDialogContainer{
background-color: #202340 !important;}
/* Falls Boersenfeger höher rauf soll, unten stehen CSS Code Teil aktivieren */
/* #updateBox > vbox:nth-child(2) > hbox:nth-child(2){
margin-top: -25px !important;
margin-bottom: 20px !important;} */
#updateButton{
min-width: 360px !important;
margin-top: 5px!important;
margin-bottom: 5px !important;}
#trademark {
margin-bottom: -40px !important;
margin-top: 16px !important;
font-size: 15px !important;
background-color: #202340 !important;}
#leftBox {margin-top: 60px !important; }
/* Build ID, about_Dialog css, Text mittig.*/
window
#aboutDialog vbox
#aboutDialogContainer hbox {font-size:15px !important;}
#clientBox vbox {font-size:15px !important;}
#rightBox textarea
#agent{
text-align:center!important;
margin-top: 5px!important;
margin-bottom: 10px ! important;
}
#updateButton{
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index1.gif")no-repeat !important;
padding-left:30px!important;
background-position:13px 3px!important;
font-size:15px!important;
border-radius:14px!important;
border-color:red !important;
border-style:outset !important;
border-width:2px !important;
color:black !important;
margin-bottom: 10px !important;
margin-top: 10px !important;}
#updateButton:hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index2.gif")no-repeat !important;
padding-left:30px!important ;
background-position:13px 3px!important;}
#updateButton .button-box {
padding-top: 0px!important;
padding-bottom: 0px!important;
-moz-padding-start: 3px!important;
-moz-padding-end: 3px!important;}
#updateBox vbox description.text-blurb label.text-link {
display: none !important;}
[href="about:license"]{
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index1.png")no-repeat !important;
color:black!important;
margin-left: 10px !important;
margin-top: 2px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
border-color:dodgerblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="about:license"]:hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index2.png")no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="about:rights"]{
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index3.png")no-repeat !important;
color:black!important;
margin-left: -28px !important;
margin-right: 10px !important;
margin-top: 2px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
border-color:red !important;
border-style:outset !important;
border-width:2px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="about:rights"]:hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index4.png")no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
label.bottom-link:nth-child(3){
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index5.png")no-repeat !important;
color:black!important;
margin-left: 2px !important;
margin-right: 10px !important;
margin-top: 2px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
border-color:green !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 1px!important;
border-radius:14px!important;}
label.bottom-link:nth-child(3):hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index6.png")no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="https://www.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog"]{
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index1.ico") no-repeat !important;
color:black!important;
margin-left: 2px !important;
margin-right: 10px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="https://www.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog"]:hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index1.ico") no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="about:credits"]{
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index8.png") no-repeat !important;
color:black!important;
margin-left: 2px !important;
margin-right: 10px !important;
margin-top: 5px !important;
margin-bottom: 5px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 1px!important;
border-radius:14px!important;
}
[href="about:credits"]:hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index8.png") no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
#contributeDesc > label:nth-child(2){
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index9.png") no-repeat !important;
color:black!important;
margin-left: 2px !important;
margin-right: 10px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 1px!important;
border-radius:14px!important;}
#contributeDesc > label:nth-child(2):hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index9.png") no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
#contributeDesc > label:nth-child(1){
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index10.png") no-repeat !important;
color:black!important;
margin-left: 2px !important;
margin-right: 4px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 2px!important;
border-radius:14px!important;}
#contributeDesc > label:nth-child(1):hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index10.png") no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
background-position:10px 2px!important;
border-radius:14px!important;}
#releasenotes{
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index11.png") no-repeat !important;
color:black!important;
margin-left: 10px !important;
margin-right: 35px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:30px!important;
padding-bottom:1px !important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:7px 3px!important;
border-radius:14px!important;
margin-top: 35px !important;
}
#releasenotes:hover{
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index11.png") no-repeat !important;
color:black!important;
margin-left: 10px !important;
margin-right: 35px !important;
font-size:15px!important;
text-decoration:none!important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:7px 3px!important;
border-radius:14px!important;}
/* Build ID about Dialog css, Test mittig.*/
window#aboutDialog vbox#aboutDialogContainer hbox#clientBox vbox#rightBox textarea#agent{
text-align:center!important;
font-size:15px!important;}
}
Alles anzeigen
Der CSS Code für den neuen Eintrag bei Hilfe, kommt in die
Datei Hife.css.
Wäre dieser hier:
#checkForUpdates{
appearance:none!important;
background: url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/Bild143.png") no-repeat !important;
min-height: 24px!important;
padding-left:2px!important;
background-position:6px 5px!important;}
Symbol: ![]()
Pfad ist im CSS Code für dich angepasst.
Mfg.
Endor
Vielen Dank für den CSS Code für den neuen Kontextmenüeintrag
für Firefox Nightly.
:klasse:
Mfg.
Endor
Falls Du doch lieber zwei Schaltflächen dafür haben möchtest, das wäre der CSS Code:
description.text-blurb:nth-child(3) > label:nth-child(1){
appearance:none!important;
background: gainsboro url("..//icons/Bild120.png") no-repeat !important;
color:black!important;
margin-left: -22px !important;
margin-top: 2px !important;
font-size:14px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
padding-bottom: 3px !important;
border-left-color: lightblue!important;
border-top-color: lightblue!important;
border-right-color: dodgerblue!important;
border-bottom-color: dodgerblue!important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 2px!important;
border-radius:14px!important;}
description.text-blurb:nth-child(3) > label:nth-child(1):hover{
appearance:none!important;
background: #B2EDFA url("..//icons/Bild120.png") no-repeat !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
background-position:10px 2px!important;
border-left-color: #bbddff !important;
border-top-color: #bbddff !important;
border-right-color: #11508d !important;
border-bottom-color: #11508d !important;
border-style: outset !important;
border-width:2px !important;
border-radius:14px!important;}
description.text-blurb:nth-child(3) > label:nth-child(2) {
appearance:none!important;
background: gainsboro url("..//icons/submit.png") no-repeat !important;
color:black!important;
margin-left: 10px !important;
margin-top: 2px !important;
font-size:14px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
padding-bottom: 3px !important;
border-left-color: lightblue!important;
border-top-color: lightblue!important;
border-right-color: dodgerblue!important;
border-bottom-color: dodgerblue!important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 2px!important;
border-radius:14px!important;}
description.text-blurb:nth-child(3) > label:nth-child(2):hover{
appearance:none!important;
background: #B2EDFA url("..//icons/submit.png") no-repeat !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
background-position:10px 2px!important;
border-left-color: #bbddff !important;
border-top-color: #bbddff !important;
border-right-color: #11508d !important;
border-bottom-color: #11508d !important;
border-style: outset !important;
border-width:2px !important;
border-radius:14px!important;}
Alles anzeigen
Symbole:
![]()
oder hier Dein ganzer CSS Code dafür mit obigen Teil.
Pfad für beide Symbole habe ich schon angepasst.
/* About : Dialog */
@-moz-document url-prefix("chrome://browser/content/aboutDialog.xhtml"){
#version:before{
content: "Boersenfeger seine Nightly-Version ist:";
font-size:17px !important;
font-weight: bold! important;
color:#F08080 !important;
margin-right: 6px !important;
margin-left: -24px !important;}
#version {
font-weight: bold! important;
font-size:16px !important;
margin-top: 30px !important;
color: #FFFFFF !important;}
#aboutDialog{
height: 350px !important;}
#agent{
margin-left: -140px !important;
margin-bottom: 10px !important;
max-height: 55px !important;
margin-right: 84px !important;
margin-top: 30px !important;
padding-top: 5px !important;}
#agent{
appearance: none !important;
border-radius:14px!important;}
#agent .textbox-input-box{
margin-top: -1px !important;
margin-left: 12px !important;}
#clientBox{
background-color: #000F40 !important;}
#bottomBox {
background-color: #000F40 !important;
margin-bottom: 30px !important;}
#aboutDialog, #aboutDialogContainer{
background-color: #000F40 !important;}
/* Falls Boersenfeger höher rauf soll, unten stehen CSS Code Teil aktivieren */
/* #updateBox > vbox:nth-child(2) > hbox:nth-child(2){
margin-top: -25px !important;
margin-bottom: 20px !important;} */
#updateButton{
min-width: 360px !important;
margin-top: 5px!important;
margin-bottom: 5px !important;}
#trademark {
margin-bottom: -40px !important;
margin-top: 16px !important;
font-size: 15px !important;
background-color: #202340 !important;}
#leftBox {margin-top: 60px !important; }
/* Build ID, about_Dialog css, Text mittig.*/
window
#aboutDialog vbox
#aboutDialogContainer hbox {font-size:15px !important;}
#clientBox vbox {font-size:15px !important;}
#rightBox textarea
#agent{
text-align:center!important;
margin-top: 5px!important;
margin-bottom: 10px ! important;
}
#updateButton{
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index1.gif")no-repeat !important;
padding-left:30px!important;
background-position:13px 3px!important;
font-size:15px!important;
border-radius:14px!important;
border-color:red !important;
border-style:outset !important;
border-width:2px !important;
color:black !important;
margin-bottom: 10px !important;
margin-top: 10px !important;}
#updateButton:hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index2.gif")no-repeat !important;
padding-left:30px!important ;
background-position:13px 3px!important;}
#updateButton .button-box {
padding-top: 0px!important;
padding-bottom: 0px!important;
-moz-padding-start: 3px!important;
-moz-padding-end: 3px!important;}
description.text-blurb:nth-child(3) > label:nth-child(1){
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/Bild120.png") no-repeat !important;
color:black!important;
margin-left: -22px !important;
margin-top: 2px !important;
font-size:14px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
padding-bottom: 3px !important;
border-left-color: lightblue!important;
border-top-color: lightblue!important;
border-right-color: dodgerblue!important;
border-bottom-color: dodgerblue!important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 2px!important;
border-radius:14px!important;}
description.text-blurb:nth-child(3) > label:nth-child(1):hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/Bild120.png") no-repeat !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
background-position:10px 2px!important;
border-left-color: #bbddff !important;
border-top-color: #bbddff !important;
border-right-color: #11508d !important;
border-bottom-color: #11508d !important;
border-style: outset !important;
border-width:2px !important;
border-radius:14px!important;}
description.text-blurb:nth-child(3) > label:nth-child(2) {
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/submit.png") no-repeat !important;
color:black!important;
margin-left: 10px !important;
margin-top: 2px !important;
font-size:14px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
padding-bottom: 3px !important;
border-left-color: lightblue!important;
border-top-color: lightblue!important;
border-right-color: dodgerblue!important;
border-bottom-color: dodgerblue!important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 2px!important;
border-radius:14px!important;}
description.text-blurb:nth-child(3) > label:nth-child(2):hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/submit.png") no-repeat !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
background-position:10px 2px!important;
border-left-color: #bbddff !important;
border-top-color: #bbddff !important;
border-right-color: #11508d !important;
border-bottom-color: #11508d !important;
border-style: outset !important;
border-width:2px !important;
border-radius:14px!important;}
[href="about:license"]{
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index1.png")no-repeat !important;
color:black!important;
margin-left: 10px !important;
margin-top: 2px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
border-color:dodgerblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="about:license"]:hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index2.png")no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="about:rights"]{
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index3.png")no-repeat !important;
color:black!important;
margin-left: -28px !important;
margin-right: 10px !important;
margin-top: 2px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
border-color:red !important;
border-style:outset !important;
border-width:2px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="about:rights"]:hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index4.png")no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
label.bottom-link:nth-child(3){
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index5.png")no-repeat !important;
color:black!important;
margin-left: 2px !important;
margin-right: 10px !important;
margin-top: 2px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
border-color:green !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 1px!important;
border-radius:14px!important;}
label.bottom-link:nth-child(3):hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index6.png")no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:40px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="https://www.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog"]{
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index1.ico") no-repeat !important;
color:black!important;
margin-left: 2px !important;
margin-right: 10px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="https://www.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog"]:hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index1.ico") no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
[href="about:credits"]{
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index8.png") no-repeat !important;
color:black!important;
margin-left: 2px !important;
margin-right: 10px !important;
margin-top: 5px !important;
margin-bottom: 5px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 1px!important;
border-radius:14px!important;
}
[href="about:credits"]:hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index8.png") no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
#contributeDesc > label:nth-child(2){
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index9.png") no-repeat !important;
color:black!important;
margin-left: 2px !important;
margin-right: 10px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 1px!important;
border-radius:14px!important;}
#contributeDesc > label:nth-child(2):hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index9.png") no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
background-position:10px 1px!important;
border-radius:14px!important;}
#contributeDesc > label:nth-child(1){
appearance:none!important;
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index10.png") no-repeat !important;
color:black!important;
margin-left: 2px !important;
margin-right: 4px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:10px 2px!important;
border-radius:14px!important;}
#contributeDesc > label:nth-child(1):hover{
appearance:none!important;
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index10.png") no-repeat !important;
color:black!important;
font-size:15px!important;
text-decoration:none!important;
padding-right:15px!important;
padding-left:35px!important;
background-position:10px 2px!important;
border-radius:14px!important;}
#releasenotes{
background: gainsboro url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index11.png") no-repeat !important;
color:black!important;
margin-left: 10px !important;
margin-right: 35px !important;
font-size:15px!important;
text-decoration:none!important;
padding-right:20px!important;
padding-left:30px!important;
padding-bottom:1px !important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:7px 3px!important;
border-radius:14px!important;
margin-top: 35px !important;
}
#releasenotes:hover{
background: #B2EDFA url("file:///c:/Users/Martin/AppData/Roaming/Mozilla/Firefox/Profiles/5p31hc0i.Nightly/chrome/Icons/index11.png") no-repeat !important;
color:black!important;
margin-left: 10px !important;
margin-right: 35px !important;
font-size:15px!important;
text-decoration:none!important;
border-color:cadetblue !important;
border-style:outset !important;
border-width:2px !important;
background-position:7px 3px!important;
border-radius:14px!important;}
}
/* Build ID about Dialog css, Test mittig.*/
window#aboutDialog vbox#aboutDialogContainer hbox#clientBox vbox#rightBox textarea#agent{
text-align:center!important;
font-size:15px!important;
}
Alles anzeigen
Mfg.
Endor
Ja ist hier auch vorhanden. Selber CSS Code.
Ohne Probleme. Funktioniert einwandfrei.
Mfg.
Endor
:klasse:
Vielen Dank!!! ![]()
hier auch keinerlei Probleme mit der Scroll-balken.
Verwendest Du eventuell ein Script oder einen CSS Code
der sich auf die Scroll-balken auswirken könnte?
Mfg.
Endor
Hallo 2002Andreas
Vielen Dank.
:klasse:
Habe ich gleich direkt ins Script eingebaut:
// ==UserScript==
// @name zzzz-MultiRowTab_LiteforFx48.uc.js
// @namespace http://space.geocities.yahoo.co.jp/gl/alice0775
// @description Experimentelle CSS Version für Mehrzeilige Tableiste
// @include main
// @compatibility Firefox 81
// @author Alice0775
// @version 2016/08/05 00:00 Firefox 48
// @version 2016/05/01 00:01 hide favicon if busy
// @version 2016/03/09 00:01 Bug 1222490 - Actually remove panorama for Fx45+
// @version 2016/02/09 00:01 workaround css for lwt
// @version 2016/02/09 00:00
// ==/UserScript==
"use strict";
MultiRowTabLiteforFx();
function MultiRowTabLiteforFx() {
/* Symbolleisten und Menüleiste von der Titelleiste in die Navigator-Toolbox verschieben */
document.getElementById("titlebar").parentNode.insertBefore(document.getElementById("toolbar-menubar"),document.getElementById("titlebar"));
var css =` @-moz-document url-prefix("chrome://browser/content/browser.xhtml") {
/* Symbolleiste Sortieren */
#toolbar-menubar { -moz-box-ordinal-group: 1 !important; } /* Menüleiste */
#nav-bar { -moz-box-ordinal-group: 2 !important; } /* Navigationsleiste */
#PersonalToolbar { -moz-box-ordinal-group: 3 !important; } /* Lesezeichen-Symbolleiste */
#titlebar { -moz-box-ordinal-group: 4 !important; } /* Titelleiste */
/* Anpassung der Symbolleisten */
[tabsintitlebar="true"] #toolbar-menubar { height: 29px; }
[tabsintitlebar="true"][sizemode="maximized"] #navigator-toolbox { padding-top: 8px !important; }
#titlebar,#tabbrowser-tabs {appearance: none !important; }
/* Windows 10 und Firefox Standardtheme, Fensterausenlinie in weiß.
Anpassung für Titelleistenschaltflächen wenn sie in den Hintergrund verschoben sind */
#main-window:not([lwtheme="true"]) #TabsToolbar .titlebar-buttonbox .titlebar-button,
#main-window:not([lwtheme="true"]) #window-controls toolbarbutton { color: rgb(24, 25, 26) !important; }
#main-window:not([lwtheme="true"]) #TabsToolbar .titlebar-buttonbox .titlebar-button:not(.titlebar-close):hover,
#main-window:not([lwtheme="true"]) #window-controls toolbarbutton:not([id="close-button"]):hover {
background-color: var(--lwt-toolbarbutton-hover-background, hsla(0,0%,70%,.4)) !important; }
/* Anpassung für Titelleistenschaltflächen */
[tabsintitlebar="true"] .titlebar-buttonbox-container { display: block; position: fixed; right:0; }
[tabsintitlebar="true"][sizemode="normal"] .titlebar-buttonbox-container { top: 1px; }
[tabsintitlebar="true"][sizemode="maximized"] .titlebar-buttonbox-container { top: 8px; }
#navigator-toolbox:not([style^="margin-top:"])[style=""][inFullscreen="true"] #window-controls { display: flex; position: fixed; top: 0; right:0; }
#navigator-toolbox:not([style^="margin-top:"])[style=""][inFullscreen="true"] #window-controls > toolbarbutton { display: inline; max-height: var(--tab-min-height); }
/* auf der rechten Seite Platz für die Schaltflächen der Titelleiste einfügen, damit die
Schaltflächen der Titelleiste und der Navigationsleiste nicht verdeckt werden */
[tabsintitlebar="true"] #toolbar-menubar[autohide="true"][inactive="true"] ~ #nav-bar:not([inFullscreen="true"]) { padding-right: 139px !important; }
#navigator-toolbox[inFullscreen="true"] #nav-bar { padding-right: 109px !important; }
/* Mehrzeilige Tableiste */
box[class="scrollbox-clip"][orient="horizontal"],
tabs > arrowscrollbox { display: block; }
scrollbox[part][orient="horizontal"] {
display: flex;
flex-wrap: wrap;
max-height: calc(var(--tab-min-height) * 5); /* Anzahl der Tabzeilen(Standard = 5 Zeilen) */
overflow-x: hidden;
overflow-y: auto; }
tabs tab[fadein]:not([pinned]) { flex-grow: 1; }
tabs tab,.tab-background {
height: var(--tab-min-height);
overflow: hidden; }
tab > .tab-stack { width: 100%; }
/* Bei Überschreitung der angegebenen Zeilenanzahl, mit der Maus,
über die dann eingeblendetet Scrolleiste zur gewünschten Zeile wechseln */
scrollbox[part][orient="horizontal"] > scrollbar { -moz-window-dragging: no-drag; }
/* Drag-Bereich auf der linken und rechten Seite der
Tab-Leiste ausblenden - verstecken
Links und rechts → hbox.titlebar-spacer
links → hbox.titlebar-spacer[type="pre-tabs"]
rechts → hbox.titlebar-spacer[type="post-tabs"] */
hbox.titlebar-spacer
,
/* Ausblenden - Verstecken */
tabs tab:not([fadein]),
#toolbar-menubar[autohide="false"] + #titlebar #TabsToolbar .titlebar-buttonbox-container { display: none; }
/* Schriftart/Schriftgröße ändern */
.tabbrowser-tab .tab-label {
text-shadow: 1px 1px 0px #FFFFFF !important;
/* font-weight: 500 !important; */
font-size: 12px !important;
font-family: "Arial" !important;
color: black !important;
}
.tabbrowser-tab .tab-label[selected="true"] {
text-shadow: 1px 1px 0px #000000 !important;
color: white !important;
font-weight: 500 !important;
font-size: 12px !important;
font-family: "Arial" !important;
}
/* Höhe der Tabs und Abstand nach unten*/
.tabbrowser-tab:not([pinned]) {
margin-left: 1px !important;
max-height: 25px !important;
margin-bottom: 4px !important;
}
/* Höhe vom Tabtext und Abstand nach unten*/
.tab-text,.tab-icon-image,.tab-close-button {
margin-top: -3px !important;
}
/* Feste Tabbreite */
.tabbrowser-tab:not([pinned]) {
min-width: 125px !important;
max-width: 125px !important;
}
/* Farbe der Tableiste hellgrau */
#titlebar {
appearance: none !important;
background: #eeeeee !important;
}
/*------------------*/
/* Tab-Hintergrund */
/*------------------*/
/*--- selektiert ---*/
.tab-background[selected=true]:not(:-moz-lwtheme) > spacer {
background-image: linear-gradient( rgba(103,171,224,1), rgba(10,58,95,1) ), none !important; /* blau */
/*background-image: linear-gradient( rgba(230,175,175,1), rgba(84,25,25,1) ), none !important;*/ /* rot */
filter: drop-shadow(4px 3px 2px rgba(0,0,0,0.33)) drop-shadow(-4px 3px 2px rgba(0,0,0,0.33)) !important;
border-radius: 80px !important;
}
.tab-background[selected=true]:-moz-lwtheme > spacer {
background-image: linear-gradient( rgba(103,171,224,1), rgba(10,58,95,1) ), none !important;
filter: drop-shadow(3px 3px 2px rgba(0,0,0,0.33)) drop-shadow(-2px 3px 2px rgba(0,0,0,0.33)) !important;
border-radius: 80px !important;
}
/*--- hover(nicht selektiert) ---*/
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]):not(:-moz-lwtheme) > spacer {
background-image: linear-gradient( rgba(255,255,255,1), rgba(115,115,115,1) ), none !important;
filter: brightness(130%) contrast(95%) drop-shadow(1px 1px 1px rgba(0,0,0,0.33)) drop-shadow(-1px 1px 1px rgba(0,0,0,0.33)) !important;
border-radius: 80px !important;
}
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]):-moz-lwtheme > spacer {
background-image: linear-gradient( rgba(225,225,225,0.66), rgba(100,125,145,0.66) ), none !important;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
border-radius: 80px !important;
}
/*--- nicht selektiert ---*/
.tab-background:not([selected=true]):not(:-moz-lwtheme) > spacer {
background-image: linear-gradient( rgba(255,255,255,1), rgba(125,125,125,1) ), none !important;
filter: brightness(115%) contrast(90%) drop-shadow(1px 1px 1px rgba(0,0,0,0.33)) drop-shadow(-1px 1px 1px rgba(0,0,0,0.33)) !important;
border-radius: 80px !important;
}
.tab-background:not([selected=true]):-moz-lwtheme > spacer {
background-image: linear-gradient( rgba(255,255,255,0.33), rgba(110,110,110,0.33) ), none !important;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
border-radius: 80px !important;
}
/*--- Multi-selektiert ---*/
.tab-background[multiselected=true]:not([selected=true]) > spacer {
background-image: linear-gradient( rgba(225,225,225,1), rgba(50,98,135,1) ), none !important;
border-radius: 80px !important;
}
.tabbrowser-tab:hover > .tab-stack > .tab-background[multiselected=true]:not([selected=true]) > spacer {
background-image: linear-gradient( rgba(225,225,225,1), rgba(50,98,135,1) ), none !important;
border-radius: 80px !important;}
tab.tabbrowser-tab:nth-child(n+1) > stack:nth-child(1) > vbox:nth-child(1){
border-top-right-radius: 20px !important;
border-bottom-right-radius: 20px !important;
} /* Separatoren entfernt */ .tabbrowser-tab::after,
.tabbrowser-tab::before {
opacity: 0 !important;
border-image: unset !important;
border-image-slice: unset !important;
width: unset !important;
}
.tab-line { display: none !important;}
.tab-background { border-top-style: none !important;}
#TabsToolbar .tabbrowser-tab[visuallyselected="true"],
#TabsToolbar .tabbrowser-tab,
#TabsToolbar .tabbrowser-tab .tab-background {
background: unset !important;
border-top: unset !important;
outline: none !important;
}
} `;
var sss = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService);
var uri = makeURI('data:text/css;charset=UTF=8,' + encodeURIComponent(css));
sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);
gBrowser.tabContainer.clearDropIndicator = function() {
var tabs = document.getElementsByClassName("tab-background");
for (let i = 0, len = tabs.length; i < len; i++) {
tabs[i].style.removeProperty("border-left-style");
tabs[i].style.removeProperty("border-right-style");
}
}
gBrowser.tabContainer.addEventListener("dragleave", function(event) { this.clearDropIndicator(event); }, true);
gBrowser.tabContainer.on_dragover = function(event) {
this.clearDropIndicator();
var effects = this._getDropEffectForTabDrag(event);
event.preventDefault();
event.stopPropagation();
if (effects == "link") {
let tab = this._getDragTargetTab(event, true);
if (tab) {
if (!this._dragTime) {
this._dragTime = Date.now();
}
if (Date.now() >= this._dragTime + this._dragOverDelay) {
this.selectedItem = tab;
}
return;
}
}
let newIndex = this._getDropIndex(event, effects == "link");
let children = document.getElementsByClassName("tab-background");
if (newIndex == children.length) {
children[newIndex - 1].style.setProperty("border-right","2px solid red","important");
} else {
children[newIndex].style.setProperty("border-left","2px solid red","important");
}
}
gBrowser.tabContainer.on_drop = function(event) {
this.clearDropIndicator();
var dt = event.dataTransfer;
var dropEffect = dt.dropEffect;
var draggedTab;
let movingTabs;
if (dt.mozTypesAt(0)[0] == TAB_DROP_TYPE) {
// tab copy or move
draggedTab = dt.mozGetDataAt(TAB_DROP_TYPE, 0);
// not our drop then
if (!draggedTab) {
return;
}
movingTabs = draggedTab._dragData.movingTabs;
draggedTab.container._finishGroupSelectedTabs(draggedTab);
}
this._tabDropIndicator.hidden = true;
event.stopPropagation();
if (draggedTab && dropEffect == "copy") {
// copy the dropped tab (wherever it's from)
let newIndex = this._getDropIndex(event, false);
let draggedTabCopy;
for (let tab of movingTabs) {
let newTab = gBrowser.duplicateTab(tab);
gBrowser.moveTabTo(newTab, newIndex++);
if (tab == draggedTab) {
draggedTabCopy = newTab;
}
}
if (draggedTab.container != this || event.shiftKey) {
this.selectedItem = draggedTabCopy;
}
} else if (draggedTab && draggedTab.container == this) {
let oldTranslateX = Math.round(draggedTab._dragData.translateX);
let tabWidth = Math.round(draggedTab._dragData.tabWidth);
let translateOffset = oldTranslateX % tabWidth;
let newTranslateX = oldTranslateX - translateOffset;
if (oldTranslateX > 0 && translateOffset > tabWidth / 2) {
newTranslateX += tabWidth;
} else if (oldTranslateX < 0 && -translateOffset > tabWidth / 2) {
newTranslateX -= tabWidth;
}
let dropIndex = this._getDropIndex(event, false);
// "animDropIndex" in draggedTab._dragData &&
// draggedTab._dragData.animDropIndex;
let incrementDropIndex = true;
if (dropIndex && dropIndex > movingTabs[0]._tPos) {
dropIndex--;
incrementDropIndex = false;
}
if (oldTranslateX && oldTranslateX != newTranslateX && !gReduceMotion) {
for (let tab of movingTabs) {
tab.setAttribute("tabdrop-samewindow", "true");
tab.style.transform = "translateX(" + newTranslateX + "px)";
let onTransitionEnd = transitionendEvent => {
if (
transitionendEvent.propertyName != "transform" ||
transitionendEvent.originalTarget != tab
) {
return;
}
tab.removeEventListener("transitionend", onTransitionEnd);
tab.removeAttribute("tabdrop-samewindow");
this._finishAnimateTabMove();
if (dropIndex !== false) {
gBrowser.moveTabTo(tab, dropIndex);
if (incrementDropIndex) {
dropIndex++;
}
}
gBrowser.syncThrobberAnimations(tab);
};
tab.addEventListener("transitionend", onTransitionEnd);
}
} else {
this._finishAnimateTabMove();
if (dropIndex !== false) {
for (let tab of movingTabs) {
gBrowser.moveTabTo(tab, dropIndex);
if (incrementDropIndex) {
dropIndex++;
}
}
}
}
} else if (draggedTab) {
let newIndex = this._getDropIndex(event, false);
let newTabs = [];
for (let tab of movingTabs) {
let newTab = gBrowser.adoptTab(tab, newIndex++, tab == draggedTab);
newTabs.push(newTab);
}
// Restore tab selection
gBrowser.addRangeToMultiSelectedTabs(
newTabs[0],
newTabs[newTabs.length - 1]
);
} else {
// Pass true to disallow dropping javascript: or data: urls
let links;
try {
links = browserDragAndDrop.dropLinks(event, true);
} catch (ex) {}
if (!links || links.length === 0) {
return;
}
let inBackground = Services.prefs.getBoolPref(
"browser.tabs.loadInBackground"
);
if (event.shiftKey) {
inBackground = !inBackground;
}
let targetTab = this._getDragTargetTab(event, true);
let userContextId = this.selectedItem.getAttribute("usercontextid");
let replace = !!targetTab;
let newIndex = this._getDropIndex(event, true);
let urls = links.map(link => link.url);
let csp = browserDragAndDrop.getCSP(event);
let triggeringPrincipal = browserDragAndDrop.getTriggeringPrincipal(
event
);
(async () => {
if (
urls.length >=
Services.prefs.getIntPref("browser.tabs.maxOpenBeforeWarn")
) {
// Sync dialog cannot be used inside drop event handler.
let answer = await OpenInTabsUtils.promiseConfirmOpenInTabs(
urls.length,
window
);
if (!answer) {
return;
}
}
gBrowser.loadTabs(urls, {
inBackground,
replace,
allowThirdPartyFixup: true,
targetTab,
newIndex,
userContextId,
triggeringPrincipal,
csp,
});
})();
}
if (draggedTab) {
delete draggedTab._dragData;
}
}
gBrowser.tabContainer._getDropIndex = function(event, isLink) {
var tabs = this.allTabs;
var tab = this._getDragTargetTab(event, isLink);
if (!RTL_UI) {
for (let i = tab ? tab._tPos : 0; i < tabs.length; i++) {
if (
event.screenY <
tabs[i].screenY + tabs[i].getBoundingClientRect().height
) {
if (
event.screenX <
tabs[i].screenX + tabs[i].getBoundingClientRect().width / 2
) {
return i;
}
if (
event.screenX >
tabs[i].screenX + tabs[i].getBoundingClientRect().width / 2 &&
event.screenX <
tabs[i].screenX + tabs[i].getBoundingClientRect().width
) {
return i + 1;
}
}
}
} else {
for (let i = tab ? tab._tPos : 0; i < tabs.length; i++) {
if (
event.screenY <
tabs[i].screenY + tabs[i].getBoundingClientRect().height
) {
if (
event.screenX <
tabs[i].screenX + tabs[i].getBoundingClientRect().width &&
event.screenX >
tabs[i].screenX + tabs[i].getBoundingClientRect().width / 2
) {
return i;
}
if (
event.screenX <
tabs[i].screenX + tabs[i].getBoundingClientRect().width / 2
) {
return i + 1;
}
}
}
}
return tabs.length;
}
}
Alles anzeigen
Mal sehen was Boderike dazu sagt.
Nochmals vielen Dank. ![]()
Mfg.
Endor
Hallo FuchsFan
Klasse, es waren die Tabseparatoren.
Nun sieht es perfekt aus.
Edit: Habe eben Deinen ganzen CSS Code getestet, das sieht noch besser aus.
Prima. Vielen Dank. ![]()
Mfg.
Endor
Hallo Boderike
bitte teste mal diese Version von Script, da habe ich einiges aus dem CSS Code von 2002Andreas
übernommen und noch etwas dazu gepackt. Bitte ohne den CSS Code testen, nur dieses Script:
// ==UserScript==
// @name zzzz-MultiRowTab_LiteforFx48.uc.js
// @namespace http://space.geocities.yahoo.co.jp/gl/alice0775
// @description Experimentelle CSS Version für Mehrzeilige Tableiste
// @include main
// @compatibility Firefox 81
// @author Alice0775
// @version 2016/08/05 00:00 Firefox 48
// @version 2016/05/01 00:01 hide favicon if busy
// @version 2016/03/09 00:01 Bug 1222490 - Actually remove panorama for Fx45+
// @version 2016/02/09 00:01 workaround css for lwt
// @version 2016/02/09 00:00
// ==/UserScript==
"use strict";
MultiRowTabLiteforFx();
function MultiRowTabLiteforFx() {
/* Symbolleisten und Menüleiste von der Titelleiste in die Navigator-Toolbox verschieben */
document.getElementById("titlebar").parentNode.insertBefore(document.getElementById("toolbar-menubar"),document.getElementById("titlebar"));
var css =` @-moz-document url-prefix("chrome://browser/content/browser.xhtml") {
/* Symbolleiste Sortieren */
#toolbar-menubar { -moz-box-ordinal-group: 1 !important; } /* Menüleiste */
#nav-bar { -moz-box-ordinal-group: 2 !important; } /* Navigationsleiste */
#PersonalToolbar { -moz-box-ordinal-group: 3 !important; } /* Lesezeichen-Symbolleiste */
#titlebar { -moz-box-ordinal-group: 4 !important; } /* Titelleiste */
/* Anpassung der Symbolleisten */
[tabsintitlebar="true"] #toolbar-menubar { height: 29px; }
[tabsintitlebar="true"][sizemode="maximized"] #navigator-toolbox { padding-top: 8px !important; }
#titlebar,#tabbrowser-tabs {appearance: none !important; }
/* Windows 10 und Firefox Standardtheme, Fensterausenlinie in weiß.
Anpassung für Titelleistenschaltflächen wenn sie in den Hintergrund verschoben sind */
#main-window:not([lwtheme="true"]) #TabsToolbar .titlebar-buttonbox .titlebar-button,
#main-window:not([lwtheme="true"]) #window-controls toolbarbutton { color: rgb(24, 25, 26) !important; }
#main-window:not([lwtheme="true"]) #TabsToolbar .titlebar-buttonbox .titlebar-button:not(.titlebar-close):hover,
#main-window:not([lwtheme="true"]) #window-controls toolbarbutton:not([id="close-button"]):hover {
background-color: var(--lwt-toolbarbutton-hover-background, hsla(0,0%,70%,.4)) !important; }
/* Anpassung für Titelleistenschaltflächen */
[tabsintitlebar="true"] .titlebar-buttonbox-container { display: block; position: fixed; right:0; }
[tabsintitlebar="true"][sizemode="normal"] .titlebar-buttonbox-container { top: 1px; }
[tabsintitlebar="true"][sizemode="maximized"] .titlebar-buttonbox-container { top: 8px; }
#navigator-toolbox:not([style^="margin-top:"])[style=""][inFullscreen="true"] #window-controls { display: flex; position: fixed; top: 0; right:0; }
#navigator-toolbox:not([style^="margin-top:"])[style=""][inFullscreen="true"] #window-controls > toolbarbutton { display: inline; max-height: var(--tab-min-height); }
/* auf der rechten Seite Platz für die Schaltflächen der Titelleiste einfügen, damit die
Schaltflächen der Titelleiste und der Navigationsleiste nicht verdeckt werden */
[tabsintitlebar="true"] #toolbar-menubar[autohide="true"][inactive="true"] ~ #nav-bar:not([inFullscreen="true"]) { padding-right: 139px !important; }
#navigator-toolbox[inFullscreen="true"] #nav-bar { padding-right: 109px !important; }
/* Mehrzeilige Tableiste */
box[class="scrollbox-clip"][orient="horizontal"],
tabs > arrowscrollbox { display: block; }
scrollbox[part][orient="horizontal"] {
display: flex;
flex-wrap: wrap;
max-height: calc(var(--tab-min-height) * 5); /* Anzahl der Tabzeilen(Standard = 5 Zeilen) */
overflow-x: hidden;
overflow-y: auto; }
tabs tab[fadein]:not([pinned]) { flex-grow: 1; }
tabs tab,.tab-background {
height: var(--tab-min-height);
overflow: hidden; }
tab > .tab-stack { width: 100%; }
/* Bei Überschreitung der angegebenen Zeilenanzahl, mit der Maus,
über die dann eingeblendetet Scrolleiste zur gewünschten Zeile wechseln */
scrollbox[part][orient="horizontal"] > scrollbar { -moz-window-dragging: no-drag; }
/* Drag-Bereich auf der linken und rechten Seite der
Tab-Leiste ausblenden - verstecken
Links und rechts → hbox.titlebar-spacer
links → hbox.titlebar-spacer[type="pre-tabs"]
rechts → hbox.titlebar-spacer[type="post-tabs"] */
hbox.titlebar-spacer
,
/* Ausblenden - Verstecken */
tabs tab:not([fadein]),
#toolbar-menubar[autohide="false"] + #titlebar #TabsToolbar .titlebar-buttonbox-container { display: none; }
/* Schriftart/Schriftgröße ändern */
.tabbrowser-tab .tab-label {
text-shadow: 1px 1px 0px #FFFFFF !important;
/* font-weight: 500 !important; */
font-size: 12px !important;
font-family: "Arial" !important;
color: black !important;
}
.tabbrowser-tab .tab-label[selected="true"] {
text-shadow: 1px 1px 0px #000000 !important;
color: white !important;
font-weight: 500 !important;
font-size: 12px !important;
font-family: "Arial" !important;
}
/* Höhe der Tabs und Abstand nach unten*/
.tabbrowser-tab:not([pinned]) {
margin-left: 1px !important;
max-height: 25px !important;
margin-bottom: 4px !important;
}
/* Höhe vom Tabtext und Abstand nach unten*/
.tab-text,.tab-icon-image,.tab-close-button {
margin-top: -3px !important;
}
/* Feste Tabbreite */
.tabbrowser-tab:not([pinned]) {
min-width: 125px !important;
max-width: 125px !important;
}
/* Farbe der Tableiste hellgrau */
#titlebar {
appearance: none !important;
background: #eeeeee !important;
}
/*------------------*/
/* Tab-Hintergrund */
/*------------------*/
/*--- selektiert ---*/
.tab-background[selected=true]:not(:-moz-lwtheme) > spacer {
background-image: linear-gradient( rgba(103,171,224,1), rgba(10,58,95,1) ), none !important; /* blau */
/*background-image: linear-gradient( rgba(230,175,175,1), rgba(84,25,25,1) ), none !important;*/ /* rot */
filter: drop-shadow(4px 3px 2px rgba(0,0,0,0.33)) drop-shadow(-4px 3px 2px rgba(0,0,0,0.33)) !important;
border-radius: 80px !important;
}
.tab-background[selected=true]:-moz-lwtheme > spacer {
background-image: linear-gradient( rgba(103,171,224,1), rgba(10,58,95,1) ), none !important;
filter: drop-shadow(3px 3px 2px rgba(0,0,0,0.33)) drop-shadow(-2px 3px 2px rgba(0,0,0,0.33)) !important;
border-radius: 80px !important;
}
/*--- hover(nicht selektiert) ---*/
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]):not(:-moz-lwtheme) > spacer {
background-image: linear-gradient( rgba(255,255,255,1), rgba(115,115,115,1) ), none !important;
filter: brightness(130%) contrast(95%) drop-shadow(1px 1px 1px rgba(0,0,0,0.33)) drop-shadow(-1px 1px 1px rgba(0,0,0,0.33)) !important;
border-radius: 80px !important;
}
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]):-moz-lwtheme > spacer {
background-image: linear-gradient( rgba(225,225,225,0.66), rgba(100,125,145,0.66) ), none !important;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
border-radius: 80px !important;
}
/*--- nicht selektiert ---*/
.tab-background:not([selected=true]):not(:-moz-lwtheme) > spacer {
background-image: linear-gradient( rgba(255,255,255,1), rgba(125,125,125,1) ), none !important;
filter: brightness(115%) contrast(90%) drop-shadow(1px 1px 1px rgba(0,0,0,0.33)) drop-shadow(-1px 1px 1px rgba(0,0,0,0.33)) !important;
border-radius: 80px !important;
}
.tab-background:not([selected=true]):-moz-lwtheme > spacer {
background-image: linear-gradient( rgba(255,255,255,0.33), rgba(110,110,110,0.33) ), none !important;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
border-radius: 80px !important;
}
/*--- Multi-selektiert ---*/
.tab-background[multiselected=true]:not([selected=true]) > spacer {
background-image: linear-gradient( rgba(225,225,225,1), rgba(50,98,135,1) ), none !important;
border-radius: 80px !important;
}
.tabbrowser-tab:hover > .tab-stack > .tab-background[multiselected=true]:not([selected=true]) > spacer {
background-image: linear-gradient( rgba(225,225,225,1), rgba(50,98,135,1) ), none !important;
border-radius: 80px !important;}
tab.tabbrowser-tab:nth-child(n+1) > stack:nth-child(1) > vbox:nth-child(1){
border-top-right-radius: 20px !important;
border-bottom-right-radius: 20px !important;
}
/* Separatoren entfernt */
.tabbrowser-tab::after,
.tabbrowser-tab::before {
opacity: 0 !important;
border-image: unset !important;
border-image-slice: unset !important;
width: unset !important;
}
.tab-line {
display: none !important;
}
.tab-background {
border-top-style: none !important;
}
} `;
var sss = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService);
var uri = makeURI('data:text/css;charset=UTF=8,' + encodeURIComponent(css));
sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);
gBrowser.tabContainer.clearDropIndicator = function() {
var tabs = document.getElementsByClassName("tab-background");
for (let i = 0, len = tabs.length; i < len; i++) {
tabs[i].style.removeProperty("border-left-style");
tabs[i].style.removeProperty("border-right-style");
}
}
gBrowser.tabContainer.addEventListener("dragleave", function(event) { this.clearDropIndicator(event); }, true);
gBrowser.tabContainer.on_dragover = function(event) {
this.clearDropIndicator();
var effects = this._getDropEffectForTabDrag(event);
event.preventDefault();
event.stopPropagation();
if (effects == "link") {
let tab = this._getDragTargetTab(event, true);
if (tab) {
if (!this._dragTime) {
this._dragTime = Date.now();
}
if (Date.now() >= this._dragTime + this._dragOverDelay) {
this.selectedItem = tab;
}
return;
}
}
let newIndex = this._getDropIndex(event, effects == "link");
let children = document.getElementsByClassName("tab-background");
if (newIndex == children.length) {
children[newIndex - 1].style.setProperty("border-right","2px solid red","important");
} else {
children[newIndex].style.setProperty("border-left","2px solid red","important");
}
}
gBrowser.tabContainer.on_drop = function(event) {
this.clearDropIndicator();
var dt = event.dataTransfer;
var dropEffect = dt.dropEffect;
var draggedTab;
let movingTabs;
if (dt.mozTypesAt(0)[0] == TAB_DROP_TYPE) {
// tab copy or move
draggedTab = dt.mozGetDataAt(TAB_DROP_TYPE, 0);
// not our drop then
if (!draggedTab) {
return;
}
movingTabs = draggedTab._dragData.movingTabs;
draggedTab.container._finishGroupSelectedTabs(draggedTab);
}
this._tabDropIndicator.hidden = true;
event.stopPropagation();
if (draggedTab && dropEffect == "copy") {
// copy the dropped tab (wherever it's from)
let newIndex = this._getDropIndex(event, false);
let draggedTabCopy;
for (let tab of movingTabs) {
let newTab = gBrowser.duplicateTab(tab);
gBrowser.moveTabTo(newTab, newIndex++);
if (tab == draggedTab) {
draggedTabCopy = newTab;
}
}
if (draggedTab.container != this || event.shiftKey) {
this.selectedItem = draggedTabCopy;
}
} else if (draggedTab && draggedTab.container == this) {
let oldTranslateX = Math.round(draggedTab._dragData.translateX);
let tabWidth = Math.round(draggedTab._dragData.tabWidth);
let translateOffset = oldTranslateX % tabWidth;
let newTranslateX = oldTranslateX - translateOffset;
if (oldTranslateX > 0 && translateOffset > tabWidth / 2) {
newTranslateX += tabWidth;
} else if (oldTranslateX < 0 && -translateOffset > tabWidth / 2) {
newTranslateX -= tabWidth;
}
let dropIndex = this._getDropIndex(event, false);
// "animDropIndex" in draggedTab._dragData &&
// draggedTab._dragData.animDropIndex;
let incrementDropIndex = true;
if (dropIndex && dropIndex > movingTabs[0]._tPos) {
dropIndex--;
incrementDropIndex = false;
}
if (oldTranslateX && oldTranslateX != newTranslateX && !gReduceMotion) {
for (let tab of movingTabs) {
tab.setAttribute("tabdrop-samewindow", "true");
tab.style.transform = "translateX(" + newTranslateX + "px)";
let onTransitionEnd = transitionendEvent => {
if (
transitionendEvent.propertyName != "transform" ||
transitionendEvent.originalTarget != tab
) {
return;
}
tab.removeEventListener("transitionend", onTransitionEnd);
tab.removeAttribute("tabdrop-samewindow");
this._finishAnimateTabMove();
if (dropIndex !== false) {
gBrowser.moveTabTo(tab, dropIndex);
if (incrementDropIndex) {
dropIndex++;
}
}
gBrowser.syncThrobberAnimations(tab);
};
tab.addEventListener("transitionend", onTransitionEnd);
}
} else {
this._finishAnimateTabMove();
if (dropIndex !== false) {
for (let tab of movingTabs) {
gBrowser.moveTabTo(tab, dropIndex);
if (incrementDropIndex) {
dropIndex++;
}
}
}
}
} else if (draggedTab) {
let newIndex = this._getDropIndex(event, false);
let newTabs = [];
for (let tab of movingTabs) {
let newTab = gBrowser.adoptTab(tab, newIndex++, tab == draggedTab);
newTabs.push(newTab);
}
// Restore tab selection
gBrowser.addRangeToMultiSelectedTabs(
newTabs[0],
newTabs[newTabs.length - 1]
);
} else {
// Pass true to disallow dropping javascript: or data: urls
let links;
try {
links = browserDragAndDrop.dropLinks(event, true);
} catch (ex) {}
if (!links || links.length === 0) {
return;
}
let inBackground = Services.prefs.getBoolPref(
"browser.tabs.loadInBackground"
);
if (event.shiftKey) {
inBackground = !inBackground;
}
let targetTab = this._getDragTargetTab(event, true);
let userContextId = this.selectedItem.getAttribute("usercontextid");
let replace = !!targetTab;
let newIndex = this._getDropIndex(event, true);
let urls = links.map(link => link.url);
let csp = browserDragAndDrop.getCSP(event);
let triggeringPrincipal = browserDragAndDrop.getTriggeringPrincipal(
event
);
(async () => {
if (
urls.length >=
Services.prefs.getIntPref("browser.tabs.maxOpenBeforeWarn")
) {
// Sync dialog cannot be used inside drop event handler.
let answer = await OpenInTabsUtils.promiseConfirmOpenInTabs(
urls.length,
window
);
if (!answer) {
return;
}
}
gBrowser.loadTabs(urls, {
inBackground,
replace,
allowThirdPartyFixup: true,
targetTab,
newIndex,
userContextId,
triggeringPrincipal,
csp,
});
})();
}
if (draggedTab) {
delete draggedTab._dragData;
}
}
gBrowser.tabContainer._getDropIndex = function(event, isLink) {
var tabs = this.allTabs;
var tab = this._getDragTargetTab(event, isLink);
if (!RTL_UI) {
for (let i = tab ? tab._tPos : 0; i < tabs.length; i++) {
if (
event.screenY <
tabs[i].screenY + tabs[i].getBoundingClientRect().height
) {
if (
event.screenX <
tabs[i].screenX + tabs[i].getBoundingClientRect().width / 2
) {
return i;
}
if (
event.screenX >
tabs[i].screenX + tabs[i].getBoundingClientRect().width / 2 &&
event.screenX <
tabs[i].screenX + tabs[i].getBoundingClientRect().width
) {
return i + 1;
}
}
}
} else {
for (let i = tab ? tab._tPos : 0; i < tabs.length; i++) {
if (
event.screenY <
tabs[i].screenY + tabs[i].getBoundingClientRect().height
) {
if (
event.screenX <
tabs[i].screenX + tabs[i].getBoundingClientRect().width &&
event.screenX >
tabs[i].screenX + tabs[i].getBoundingClientRect().width / 2
) {
return i;
}
if (
event.screenX <
tabs[i].screenX + tabs[i].getBoundingClientRect().width / 2
) {
return i + 1;
}
}
}
}
return tabs.length;
}
}
Alles anzeigen
Scrollbalken funktioniert hier damit einwandfrei.
Bei mir ist da rechts neben jeden Tab ein gerader Strich, kriegt man den irgendwie weg?
Habe einiges probiert, aber will mal wieder nicht. :wink:
Mfg.
Endor