Auch von mir vielen Dank. Alles bestens wieder.
Funktioniert in Firefox 113, 114 Beta und 115 Nightly einwandfrei.
Nochmals vielen Dank!
Mfg.
Endor
Auch von mir vielen Dank. Alles bestens wieder.
Funktioniert in Firefox 113, 114 Beta und 115 Nightly einwandfrei.
Nochmals vielen Dank!
Mfg.
Endor
Mira_Belle
Japanisch.
Nein kein Wort.
Aber wenn Du solange wie ich für loshombre der Scriptjäger
und übersetzter bist wie ich, dann kennst Du dich aus.
https://translate.google.de/?sl=auto&tl=de&op=translate ist bei mir angepinnt.
Mfg.
Endor
Steht in der Version von mir ja auch in Zeile 5 so drinnen.
Das hat übrigens der Autor so gemacht nicht ich.
Ich habe diese Version zufällig hier heute morgen gefunden:
Mfg.
Endor
das Script von Dir ist 11 oder 12 Jahre alt.
Kann also nicht mehr gehen. Griever aktualisiert schon lange nicht mehr
seine Scripte. Leider. Ein paar haben wir hier am laufen gehalten, ein
haben paar andere Autoren aktualisiert. So auch obiges Script.
Mfg.
Endor
Danke.
Wird ersetzt.
Mfg.
Endor
Das ist eine neuere Version davon aber glaube nicht,
dass die in Firefox 113 läuft. Aber teste mal:
// ==UserScript==
// @name userChrome.js
// @namespace castelo@live.com
// @version 0.0.3
// @note Thanks to ardiman(https://github.com/Endor8/userChrome.js/blob/master/floatingscrollbar/FloatingScrollbar.uc.js)
// @note Thanks to Griever(https://github.com/Griever/userChromeJS/blob/master/SmartScrollbar.uc.js) and Paul Rouget(https://gist.github.com/4003205)
// @note...........0.0.3 Added specific z-index behavior for some sites
// @note 0.0.2 Increased width of scrollbar from 2px to 3px
// @note 0.0.1 Initial version
// ==/UserScript==
(function () {
var prefs = Services.prefs,
enabled;
if (prefs.prefHasUserValue('userChromeJS.floating_scrollbar.enabled')) {
enabled = prefs.getBoolPref('userChromeJS.floating_scrollbar.enabled')
} else {
prefs.setBoolPref('userChromeJS.floating_scrollbar.enabled', true);
enabled = true;
}
var css = '\
// @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);\
:not(select):not(hbox) > scrollbar {\
appearance: none!important;\
position: relative;\
box-sizing: border-box!important;\
background-color: transparent;\
background-image: none;\
z-index: 2147483647;\
padding: 2px;\
display: flex!important;\
justify-content: flex-end;\
pointer-events: auto;\
width: auto!important;\
}\
:not(select):not(hbox) > scrollbar[orient = "vertical"] {\
margin-inline-start: -8px;\
width: 8px!important;\
background-color: rgba(90, 90, 90, 0);\
transition: -moz-margin-start 0.1s linear, width 0.1s linear, background-color 0.1s linear;\
}\
:not(select):not(hbox) > scrollbar[orient = "vertical"] thumb {\
border: 1px solid rgba(50, 50, 50, 0.65);\
background-color: rgba(160, 160, 160, 0.65)!important;\
transition: background-color 0.1s linear;\
min-height: 16px;\
}\
:not(select):not(hbox) > scrollbar[orient = "horizontal"] {\
margin-top: -8px;\
height: 8px!important;\
background-color: rgba(90, 90, 90, 0);\
transition: -moz-margin-start 0.1s linear, width 0.1s linear, background-color 0.1s linear;\
}\
:not(select):not(hbox) > scrollbar[orient = "horizontal"] thumb {\
border: 1px solid rgba(50, 50, 50, 0.65);\
background-color: rgba(160, 160, 160, 0.65)!important;\
transition: background-color 0.1s linear;\
min-width: 16px;\
}\
:not(select):not(hbox) > scrollbar thumb {\
appearance: none!important;\
border-radius: 0px!important;\
background-color: rgba(160, 160, 160, 0.65)!important;\
transition: background-color 0.1s linear;\
pointer-events: auto;\
}\
:not(select):not(hbox) > scrollbar[orient = "vertical"]:hover {\
background-color: rgba(90, 90, 90, 0.15);\
padding: 0;\
margin-inline-start: -16px;\
width: 16px!important;\
transition: -moz-margin-start 0.1s linear, width 0.1s linear, background-color 0.1s linear;\
}\
:not(select):not(hbox) > scrollbar[orient = "horizontal"]:hover {\
background-color: rgba(90, 90, 90, 0.15);\
padding: 0;\
margin-top: -16px;\
height: 16px!important;\
transition: -moz-margin-start 0.1s linear, height 0.1s linear, background-color 0.1s linear;\
}\
:not(select):not(hbox) > scrollbar:hover thumb {\
border: 1px solid rgba(50, 50, 50, 0.8);\
background-color: rgba(160, 160, 160, 0.8)!important;\
transition: background-color 0.1s linear, border 0.1s linear;\
}\
:not(select):not(hbox) > scrollbar thumb:hover {\
border: 1px solid rgba(50, 50, 50, 0.8);\
background-color: rgba(128, 128, 128, 0.8)!important;\
transition: background-color 0.1s linear, border 0.1s linear;\
}\
:not(select):not(hbox) > scrollbar thumb:active {\
border: 1px solid rgba(50, 50, 50, 0.8);\
background-color: rgba(112, 112, 112, 0.8)!important;\
transition: background-color 0.1s linear, border 0.1s linear;\
}\
:not(select):not(hbox) > scrollbar scrollbarbutton, :not(select):not(hbox) > scrollbar gripper {\
display: none;\
}\
@-moz-document url-prefix("https://mail.google.com/"), url-prefix("https://docs.google.com/"), url-prefix("https://calendar.google.com/") {\
:not(select):not(hbox) > scrollbar {\
z-index: 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));
// var p = document.getElementById('devToolsSeparator');
// var m = document.createXULElement('menuitem');
// m.setAttribute('label', "Schwebende Scrollbar");
// m.setAttribute('type', 'checkbox');
// m.setAttribute('autocheck', 'false');
// m.setAttribute('checked', enabled);
// p.parentNode.insertBefore(m, p);
// m.addEventListener('command', command, false);
if (enabled) {
sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);
}
function command() {
if (sss.sheetRegistered(uri, sss.AGENT_SHEET)) {
prefs.setBoolPref('userChromeJS.floating_scrollbar.enabled', false);
sss.unregisterSheet(uri, sss.AGENT_SHEET);
m.setAttribute('checked', false);
} else {
prefs.setBoolPref('userChromeJS.floating_scrollbar.enabled', true);
sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);
m.setAttribute('checked', true);
}
let root = document.documentElement;
let display = root.style.display;
root.style.display = 'none';
window.getComputedStyle(root).display; // Flush
root.style.display = display;
}
})();
Alles anzeigen
eine Frage in obigem Script wird
-moz-margin-start:
verwendet. Wird das in Firefox 113 noch unterstützt oder muss das auch geändert werden?
Mfg.
Endor
Mfg.
Endor
Mfg.
Endor
Mfg.
Endor
Mfg
Endor
Mfg.
Endor
Danke für den Hinweis.
Ist jetzt aktualisiert.
Mfg.
Endor
Oben ist ein Fehler im Link.
Das wäre das Video:
https://seekers/
R.I.P.
Mfg.
Endor
R.I.P.
Mfg.
Endor
Und nun mal was anderes:
Mfg.
Endor
in Memoriam Harry Belafonte:
Mfg.
Endor
R.I.P.
Mfg.
Endor
Hallo Dharkness
Teste mal:
Damit wird hier der Pfeil rot. Farbe kannst Du dir ja selber einstellen.
Vielleicht reicht Dir das schon.
Mfg.
Endor