Beiträge von Endor
-
-
-
Heute hätte unser geschätztes Forumsmitglied
Estartuseinen 53. Geburtstag gehabt. Leider ist er viel zu früh,
vor ein paar Jahren, seiner schweren Krankheit erlegen.
R.I.P.
Mfg.
Endor -
Bin zwar nicht Zironella aber, das von Zitronella angebotene Script ist ein userchrome.js Script.
Hast Du die nötigen Vorarbeiten zur Verwendung von solchen Scripten gemacht?
Hier eine Anleitung: https://github.com/Endor8/userChr…ster/userChromeMfg.
Endor -
Hallo ostsee
Alles alles Gute zum Geburtstag.
Vor allem viel Gesundheit, aber auch Glück wünsche ich Dir
von ganzen Herzen. Bleib Gesund.
Mfg.
Endor
-
Hallo Sören, auch von mir, wenn auch nachträglich,
alles Gute zum Geburtstag. Vor allem Gesundheit
wünsche ich Dir, aber auch viel Glück und Erfolg.
Mfg.
Endor -
-
Gerne.
:wink:
Mfg.
Endor -
Ok. Gib Bescheid ob es funktioniert.
Mfg.
Endor -
Ja der Code schiebt die Tableiste unter die Lesezeichenleiste und
macht die Tableiste Mehrzeilig.
Mfg.,
Endor
-
Wie gesagt Mittelklick auf den entsprechenden Eintrag in der Code Liste
unter Style Loader Menü machen. Einmal deaktiviert den Style, beim zweitenmal wird er wieder aktiviert. Du kannst Das auch am verschwinden und
wieder auftauchen des schwarzen Hakens erkennen.
Hier funktioniert es jedenfalls. Alt + R oder Mittelklick auf die Schaltfläche
funktionieren dagegen nicht immer.
Mfg.Endor
-
Boersenfeger du verwendest Doch das Script usercssloader.uc.js
zum laden der CSS Codes soviel ich weiß.
Da genügt es doch wenn Du mit Mittelklick den entsprechenden CSS Code
deaktivierst und wieder aktivierst. Neustart braucht es hier diesbezüglich wirklich nur selten.
Mfg.
Endor -
Danke für die Info. :klasse:
Mfg.
Endor -
-
Ich habe das auch nur im aktuellen 74er getestet.
Und da war es eben so wie oben beschrieben.
-
Ja habe hier auch nur diese eine Änderung gefunden.
Habe dazu die letzte und den vorletzte Version des CSS Codes
vom Autor verglichen.Sonst ist hier alles identisch mit dem vorigen Code.
Das Problem war hier ja, ohne obige Änderung wurde immer nur die
letzte runter geladenen Datei angezeigt. Die anderen nicht.
So werden hier wieder alle angezeigt.Mfg.
Endor -
Hallo Boersenfeger.
Bitte teste mal diesen CSS Code.
Das ist Deiner von oben wo ich die Änderung übertragen habe.
Sollte passen.
CSS
Alles anzeigen/* DownloadStatusModoki CSS */ @charset "utf-8"; /*@version 2019/12/11 fix for 73 Bug 1601094 - Rename remaining .xul files to .xhtml in browser */ /*@version 2019/10/20 12:30*/ html#main-window vbox#downloadsStatusModokiBar { display: flex !important; position: absolute !important; right: -180px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] { -moz-box-orient: horizontal !important; /*background-color: rgba(0,0,0,0) !important;*/ border-top: 1px solid black !important; background-image: linear-gradient( rgba(192,192,192,1), rgba(255,255,255,1) ), none !important; padding: 0 !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] > stack:first-child { } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] #downloadsRichListBox { background-color: rgba(0,0,0,0) !important; overflow-y: auto !important; scrollbar-width: thin; border: none !important; min-height: 32px !important; max-height: 32px !important; height: 32px !important; max-width: 210px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] *|*:root { --downloads-item-height: 28px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] richlistitem { min-width:200px !important; max-width:200px !important; font-size: 10px !important; margin-top: -1px !important; min-height: 28px !important; max-height: 28px !important; height: 28px !important; display:-moz-inline-box !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] richlistitem vbox { height: 16px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .downloadTypeIcon { height:16px !important; width: 16px !important; -moz-margin-end: 1px !important; -moz-margin-start: 1px !important; padding-right: 1px !important; padding-left: 1px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .downloadTarget { /*margin-top:1px !important;*/ margin-top:-3px !important; padding-bottom:16px !important; max-width: calc(100% - 51px) !important; min-width: calc(100% - 51px) !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .download-state[state="0"] * .downloadTarget, #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .download-state[state="4"] * .downloadTarget { padding-bottom:0px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] #downloadsListEmptyDescription { color: red !important; margin-top: 6px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .downloadTarget:-moz-system-metric(windows-default-theme) { margin-top:2px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] *|*.downloadProgress { margin-top: 2px !important; border: none !important; padding-top: 1px !important; padding-bottom: 1px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] *|*.downloadProgress::-moz-progress-bar { margin-top: -1px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] *|*.downloadProgress:not([paused])::-moz-progress-bar { background-color: lime !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .downloadDetails { margin-top:-10px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .download-state:not(:-moz-any([state="-1"], [state="5"], [state="0"], [state="4"], [state="7"])) .downloadDetails { margin-top:-17px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] richlistitem[selected] .downloadDetails { opacity: 1 !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .downloadButton { padding: 0 !important; margin: 0 !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] button > .button-box { -moz-padding-start: 0px !important; -moz-padding-end: 1px !important; padding-right: 0 !important; padding-left: 0 !important; margin-top: -2px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] #downloadFilter { display: none !important; /* width: 150px; min-height: 23px !important; max-height: 23px !important; height: 23px !important;*/ } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] #ucjs_clearListButton { /*display:none !important;*/ /*margin-top: -15px !important;*/ /*height: 20px !important;*/ min-width: 62px !important; max-width: 62px !important; min-height: 20px !important; max-height: 20px !important; } #ucjs_clearListButton>#label #new-toolbar { height: 28px !important; -moz-window-dragging: no-drag !important; }Mfg.
Endor -
Hallo @laubenpieper
bitte teste diese Version mal, das ist die aktuelle Version vom Autor:
JavaScript
Alles anzeigen// ==UserScript== // @name addRestartButton // @namespace http://space.geocities.yahoo.co.jp/gl/alice0775 // @charset UTF-8 // @description "Neustart" im Menü Datei hinzufügen // @description Neustart, mit Rechts- und Mittelklick wird zusätzlich userChrome.js-Cache geleert // @include main // @compatibility Firefox 2.0 3.0 // @author Alice0775 // @version 2019/05/21 08:30 fix 69.0a1 Bug 1534407 - Enable browser.xhtml by default, Bug 1551320 // @version 2019/05/21 08:30 Replace all CreateElement calls in XUL documents with CreateXULElement // @version 2015/12/04 24:00 Bug 1177310 [e10s] CPOWs beim Beenden von Firefox nicht mehr verwenden // @version 2015/12/04mod // @Note // ==/UserScript== //"Neustart" im Menü Datei hinzufügen //Bei Verwendung des Tabmixplus-Sitzungsmanagers wird im Menü der Symbolleistenschaltfläche des Tabmixplus-Sitzungsmanagers //und im Menü Datei der Eintrag "Speichern und Neustart" zum Speichern der aktuellen Sitzung und Neustart hinzugefügt. // var ToolRstartMod = { //SAVE_SESSION_RESTART_VERSION: "0.0.2", init: function() { if (document.getElementById("Restart_Firefox")) return; var optionsitem, menuitem, menupopup; var UI = Components.classes["@mozilla.org/intl/scriptableunicodeconverter"]. createInstance(Components.interfaces.nsIScriptableUnicodeConverter); UI.charset = "UTF-8"; var gPref = Components.classes["@mozilla.org/preferences-service;1"]. getService(Components.interfaces.nsIPrefBranch); try{ if (!gPref.getBoolPref("browser.sessionstore.enabled")&&gPref.getBoolPref("extensions.tabmix.sessions.manager")){ var button = document.getElementById("btn_sessionmanager"); var label = "Speichern und Neustart"; //try {label =UI.ConvertToUnicode(label)} catch(e){} if (button){ //button.setAttribute("disabled",false); //Fix With Rewindfowerd.xpi menuitem = document.createXULElement("menuitem"); menuitem.setAttribute("id", "Restart_Firefox0"); menuitem.setAttribute("class", "menuitem-iconic"); menuitem.setAttribute("label", label); menuitem.setAttribute("image", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6%2BR8AAAABGdBTUEAALGPC%2FxhBQAAAkVJREFUeJxVks1Lk3EAxz%2B%2FZ79ne575tk2ntjlsCnaY1aGC7hYWVPRyiA7RX1CEEdRp8xAFRnQI6tClSx0sCBEi8FDRC4ZpSaIpvsSWm07ndC8%2B255nT4cw6nv6Hj6f20fwz26%2FS3eXy5WB6JIRomSCEFwL13G8Uxs80uXp3%2BHEzrn8ajm2lrOjXodNq0eljMC0bMySxdt0hX1u5eGtk4GnrTWO92LJtrUHr1dujK2Uo6c6NHRd4hA2DiBv2hiWTblcZSJpcrTVkT1%2FoPGMHBlNhzdzVvREWEPTHHR5VPbu0tFVhfV8hYnUNlIIGnWTgW85T3PN2iOZL1bvGaaFpmm0uCX7m1QwDBSh0u51EmhQsW14NpnlsN%2FFuY%2BZihycy4Z7QnVkKzaudJ7HMym%2Bb5o0WyZXettoD%2FkAWEgZrFZs%2FIaFzG0VzaThxue26d1dS%2BfBJsyq4PnXddJlBT1jYCsKqRKMFIBiCWnlCnIlV8%2B2W0d1VHErZTbyJXQqXP1Swl%2FN0O2RTKo6%2FnpIFw0pTwe0xZeJ7B5PXQ3xdAGRqeDz6fR0KBwKCkBh7JfFjNQhvgWbhUWZTBb6WnIcK2byPFktkljY5GLEQdDvRFEUfmbhkzeE2iDZmE6SHl3uE%2FdfzLmG3szfnMUVTQSbweWEqkmbLgh7XASCXpBOpj8vMvlhNoa%2FeudvEZFLQzHTqUd%2FtPqgpQF%2FUy2RWgm5bZLTKQrj8Vhi%2BGz%2Ffxn9EYcjdW777vy22oYqAIHLKMUT4%2FnrTF2Y2uF%2BA5XB81eiCxQGAAAAAElFTkSuQmCC"); menuitem.setAttribute("oncommand", "ToolRstartMod.SaveRestart(event);"); menuitem.setAttribute("tooltiptext", "Aktuelle Sitzung speichern und Firefox neu starten"); optionsitem = document.getElementById("btn-sm-settings"); optionsitem.parentNode.insertBefore(menuitem, optionsitem); } menuitem = document.createXULElement("menuitem"); menuitem.setAttribute("id", "Restart_Firefox1"); menuitem.setAttribute("label", label); menuitem.setAttribute("oncommand", "ToolRstartMod.SaveRestart(event);"); menuitem.setAttribute("tooltiptext", "Aktuelle Sitzung speichern und Firefox neu starten"); optionsitem = document.getElementById("menu_FileQuitItem"); optionsitem.parentNode.insertBefore(menuitem, optionsitem); } }catch(e){} label = "Neustart"; //try {label =UI.ConvertToUnicode(label)} catch(e){} menuitem = document.createXULElement("menuitem"); menuitem.setAttribute("label", label); menuitem.setAttribute("accesskey", "R"); menuitem.setAttribute("oncommand", "ToolRstartMod.restartApp(false);"); menuitem.setAttribute("onclick", "if (event.button != 0) {event.preventDefault(); ToolRstartMod.restartApp(true)};"); optionsitem = document.getElementById("menu_FileQuitItem"); optionsitem.parentNode.insertBefore(menuitem, optionsitem); menuitem.setAttribute("id", "Restart_Firefox"); menuitem.setAttribute("tooltiptext", "Neustart, mit Rechts- und Mittelklick wird zusätzlich userChrome.js-Cache geleert"); optionsitem = document.getElementById("appmenu_quit") || document.getElementById("appmenu-quit"); if (optionsitem) { menuitem = optionsitem.parentNode.insertBefore(menuitem.cloneNode(true), optionsitem); menuitem.setAttribute("id", "Restart_Firefox2"); } dump("Initialized addRestartButtons"); }, SaveRestart: function(event) { event.stopPropagation(); SessionManager.sessionUtil('save', 'allwindows'); ToolRstartMod.restartApp(true); }, //aus Erweiterung sessionsaver_.2-0.2.1.031-fx+mz.xpi entnommen restartApp: function(clearCache) { if (typeof clearCache == 'undefined') clearCache = false; if ("BrowserUtils" in window && typeof BrowserUtils.restartApplication == "function") { if (clearCache) { let XRE = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime); XRE.invalidateCachesOnRestart(); } BrowserUtils.restartApplication(); return; } const appStartup = Components.classes["@mozilla.org/toolkit/app-startup;1"] .getService(Components.interfaces.nsIAppStartup); // Notify all windows that an application quit has been requested. var os = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); var cancelQuit = Components.classes["@mozilla.org/supports-PRBool;1"] .createInstance(Components.interfaces.nsISupportsPRBool); os.notifyObservers(cancelQuit, "quit-application-requested", null); // Something aborted the quit process. if (cancelQuit.data) return; // Notify all windows that an application quit has been granted. os.notifyObservers(null, "quit-application-granted", null); // Enumerate all windows and call shutdown handlers var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] .getService(Components.interfaces.nsIWindowMediator); var windows = wm.getEnumerator(null); var win; while (windows.hasMoreElements()) { win = windows.getNext(); if (("tryToClose" in win) && !win.tryToClose()) return; } if (clearCache) { let XRE = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime); XRE.invalidateCachesOnRestart(); } appStartup.quit(appStartup.eRestart | appStartup.eAttemptQuit); } } ToolRstartMod.init();Die sollte jetzt funktionieren.
Mfg.
Endor -
Nur mal zur Info für Benutzer des Script: DownloadsStatusModoki.uc.js
Ab Firefox 74 muss der dazu gehörende CSS Code aktualisiert werden.
Der Autor, siehe hier, hat gestern diese Version des CSS Codes hochgeladen:CSS
Alles anzeigen@charset "utf-8"; /*@version 2020/03/13 fix for 74, broken listitem orient due to Bug 1606130 /*@version 2019/12/11 fix for 73 Bug 1601094 - Rename remaining .xul files to .xhtml in browser */ /*@version 2019/10/20 12:30*/ #contentAreaDownloadsView[ucjsDownloadsStatusModoki] { -moz-box-orient: horizontal; background-color: -moz-dialog !important; padding: 0 !important;} #contentAreaDownloadsView[ucjsDownloadsStatusModoki] > stack:first-child { } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] #downloadsRichListBox { background-color: #fffff0 !important; display:inline-block !important; overflow-y: auto !important; scrollbar-width: thin; border: none !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] :root { --downloads-item-height: 38px; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] richlistitem { min-width:193px !important; max-width:193px !important; font-size: 13px !important; border-width: 0 1px 0 0 !important; border-style: solid !important; border-color: black !important; height: 38px !important; display:-moz-inline-box !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] richlistitem vbox { } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .downloadTypeIcon { height:16px !important; width: 16px !important; -moz-margin-end: 1px !important; -moz-margin-start: 1px !important; padding-right: 1px !important; padding-left: 1px !important;} #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .downloadTarget { margin-top:1px !important; padding-bottom:16px !important; max-width: calc(100% - 51px) !important; min-width: calc(100% - 51px) !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .download-state[state="0"] * .downloadTarget, #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .download-state[state="4"] * .downloadTarget { padding-bottom:0px !important;} #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .downloadTarget:-moz-system-metric(windows-default-theme) { margin-top:2px !important; /*padding-bottom:10px; windows7 ?*/ } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] *|*.downloadProgress { border: none !important;} #contentAreaDownloadsView[ucjsDownloadsStatusModoki] *|*.downloadProgress:not([paused])::-moz-progress-bar { background-color: lime !important;} #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .downloadDetails { margin-top:-12px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .download-state:not(:-moz-any([state="-1"], [state="5"], [state="0"], [state="4"], [state="7"])) .downloadDetails { margin-top:-17px !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] richlistitem[selected] .downloadDetails { opacity: 1 !important;} #contentAreaDownloadsView[ucjsDownloadsStatusModoki] .downloadButton { padding: 0 !important; margin: 0 !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] button > .button-box { -moz-padding-start: 0px !important; -moz-padding-end: 1px !important; padding-right: 0 !important; padding-left: 0 !important; } #contentAreaDownloadsView[ucjsDownloadsStatusModoki] #downloadFilter { width: 150px; }Mfg.
Endor
-
Hallo Geldhuegel.
Alles alles gute zum Geburtstag.
Vor allem viel Gesundheit, aber auch Glück und Erfolg
wünsche ich Dir.
Mfg.
Endor