Auch ganz weglassen!
Danke für den Tipp. Hatte auch nur das Script von Andreas genommen.
Allen hier im Forum schon mal ein schönes Wochenende hwww
Auch ganz weglassen!
Danke für den Tipp. Hatte auch nur das Script von Andreas genommen.
Allen hier im Forum schon mal ein schönes Wochenende hwww
Hallo Andreas
Wie immer perfekt gelöst. Besten Dank! Habe das Script gleich ausgewechselt. Funktioniert!
Jetzt aber eine schöne Woche noch hwww
Hallo nochmal
Habe noch eine Nachfrage. Wie bekomme ich die zwei Pfeile "nach oben" und "nach unten" nach ganz links. Also vor die Pfeile "zurück" und "vor".
Danke schon mal hwww
Hallo Andreas
Besten Dank für den Hinweis in #2. Dieses Script funktioniert wieder.
Schöne Woche noch hwww
Hallo
Hatte das Problem schon mal im April. Ganze Seite nach unten oder oben Scrollen
Jetzt funktioniert das Script "ScrollTopAndBottom" wieder nicht.
//ScrollTopAndBottom.uc.js
(function() {
if (location.href !== 'chrome://browser/content/browser.xhtml') return;
let menuitem = document.createXULElement('menuitem');
menuitem.id = 'context-to-top';
menuitem.classList.add('menuitem-iconic');
menuitem.setAttribute('tooltiptext' , '');
menuitem.style.listStyleImage='url("chrome://browser/skin/downloads/downloads.svg")';
let refItem = document.getElementById('context-reload');
refItem.parentNode.insertBefore(menuitem, refItem);
//click
menuitem.addEventListener('click', () => {
if (event.button == 0) {
ownerGlobal.gBrowser.selectedBrowser.messageManager.loadFrameScript(' data: , content.scrollTo(0,0) ' , false);
}
});
})();
(function() {
if (location.href !== 'chrome://browser/content/browser.xhtml') return;
let menuitem = document.createXULElement('menuitem');
menuitem.id = 'context-to-bottom';
menuitem.classList.add('menuitem-iconic');
menuitem.setAttribute('tooltiptext' , '');
menuitem.style.listStyleImage='url("chrome://browser/skin/downloads/downloads.svg")';
let refItem = document.getElementById('context-reload');
refItem.parentNode.insertBefore(menuitem, refItem);
//click
menuitem.addEventListener('click', () => {
if (event.button == 0) {
ownerGlobal.gBrowser.selectedBrowser.messageManager.loadFrameScript(' data: , content.scrollTo(0,100000) ' , false);
}
});
var css = '\
#context-to-top { \
list-style-image: url("chrome://browser/skin/downloads/downloads.svg");\
transform:rotate(180deg)!important;\
margin-left: 0px !important;\
margin-right: 15px !important;\
}';
var cssUri = Services.io.newURI('data:text/css,' + encodeURIComponent(css), null, null);
var SSS = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService);
SSS.loadAndRegisterSheet(cssUri, SSS.AGENT_SHEET);
})();
Alles anzeigen
Was muss geändert werden?
Besten Dank schon mal hwww
Hallo Andreas
Was soll ich sagen. Kaum stehlt man hier was ein hat man schon die richtige Antwort von dir. Beide Scripte funktionieren und das mit der kompakten (Text in Code-Block eingefügt) Darstellung ist auch "gespeichert". Besten Dank für deine Hilfe!
Wünsche dir noch eine schöne Woche hwww
Hallo
Eben FF 143.0 installiert und der Beende Button wird nicht mehr angezeigt. Auch konnte man vorher senkrechte Stiche in die URL-Leiste ziehen. Auch das ist weg.
Hier das Script des Beende Button.
// Button > Firefox beenden
// Button > Firefox beenden
// angepasst für Fx 90 by 2002Andreas
(function() {
try {
ChromeUtils.importESModule("resource:///modules/CustomizableUI.sys.mjs");
CustomizableUI.createWidget({
id: "fp-quit",
defaultArea: CustomizableUI.AREA_NAVBAR,
removable: true,
label: "Beenden",
tooltiptext: "Beenden",
onClick: function(event) {
goQuitApplication(event);
},
onCreated: function(aNode) {
aNode.style.listStyleImage = 'url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="red" d="M8 6a1 1 0 0 0 1-1V1a1 1 0 0 0-2 0v4a1 1 0 0 0 1 1zm3.5-4.032a1 1 0 0 0-1 1.732A4.946 4.946 0 0 1 13 8 5 5 0 0 1 3 8a4.946 4.946 0 0 1 2.5-4.3 1 1 0 0 0-1-1.732 7 7 0 1 0 7.006 0z"></path></svg>\')';
return aNode;
}
});
} catch (e) {
Components.utils.reportError(e);
};
})();
Alles anzeigen
ich glaube dieses Script war für die senkrechten Striche in der URL-Leiste
/* Restore 'Space & Separator' items script for Firefox 102+ by Aris
Default browser scripts always remove spaces and separators from default palette, so
because of that they are added to an own toolbar now.
- spaces and separators can be moved to any toolbar
- to remove spaces or separators move them into palette
- configuration toolbar behaves like a default toolbar, items and buttons can be placed on it
- configuration toolbar is not visible outside customizing mode
- default "Flexible Space" item is hidden from palette and added to configuration toolbar
[!] BUG: do not move spaces, flexible spaces or separator to configuration toolbar or it will cause glitches
[!] BUG: do not move main 'space'-item to palette or it will be hidden until customizing mode gets reopened
[!] Fix for WebExtensions with own windows by 黒仪大螃蟹 (for 1-N scripts)
*/
ChromeUtils.importESModule("resource:///modules/CustomizableUI.sys.mjs");
var appversion = parseInt(Services.appinfo.version);
var AddSeparator = {
init: function() {
if (location != 'chrome://browser/content/browser.xhtml')
return;
/* blank tab workaround */
try {
if(gBrowser.selectedBrowser.getAttribute('blank')) gBrowser.selectedBrowser.removeAttribute('blank');
} catch(e) {}
var tb_config_label = "Configuration Toolbar";
var tb_spacer_label = "Space";
var tb_sep_label = "Separator";
var tb_spring_label = "Flexible Space";
try {
if(document.getElementById('configuration_toolbar') == null) {
var tb_config = document.createXULElement("toolbar");
tb_config.setAttribute("id","configuration_toolbar");
tb_config.setAttribute("customizable","true");
tb_config.setAttribute("class","toolbar-primary chromeclass-toolbar browser-toolbar customization-target");
tb_config.setAttribute("mode","icons");
tb_config.setAttribute("iconsize","small");
tb_config.setAttribute("toolboxid","navigator-toolbox");
tb_config.setAttribute("lockiconsize","true");
tb_config.setAttribute("ordinal","1005");
tb_config.setAttribute("defaultset","toolbarspacer,toolbarseparator");
document.querySelector('#navigator-toolbox').appendChild(tb_config);
CustomizableUI.registerArea("configuration_toolbar", {legacy: true});
CustomizableUI.registerToolbarNode(tb_config);
var tb_label = document.createXULElement("label");
tb_label.setAttribute("label", tb_config_label+": ");
tb_label.setAttribute("value", tb_config_label+": ");
tb_label.setAttribute("id","tb_config_tb_label");
tb_label.setAttribute("removable","false");
tb_config.appendChild(tb_label);
var tb_spacer = document.createXULElement("toolbarspacer");
tb_spacer.setAttribute("id","spacer");
tb_spacer.setAttribute("class","chromeclass-toolbar-additional");
tb_spacer.setAttribute("customizableui-areatype","toolbar");
tb_spacer.setAttribute("removable","false");
tb_spacer.setAttribute("label", tb_spacer_label);
tb_config.appendChild(tb_spacer);
var tb_sep = document.createXULElement("toolbarseparator");
tb_sep.setAttribute("id","separator");
tb_sep.setAttribute("class","chromeclass-toolbar-additional");
tb_sep.setAttribute("customizableui-areatype","toolbar");
tb_sep.setAttribute("removable","false");
tb_sep.setAttribute("label", tb_sep_label);
tb_config.appendChild(tb_sep);
var tb_spring = document.createXULElement("toolbarspring");
tb_spring.setAttribute("id","spring");
tb_spring.setAttribute("class","chromeclass-toolbar-additional");
tb_spring.setAttribute("customizableui-areatype","toolbar");
tb_spring.setAttribute("removable","false");
tb_spring.setAttribute("flex","1");
tb_spring.setAttribute("label", tb_spring_label);
tb_config.appendChild(tb_spring);
// CSS
var sss = Components.classes["@mozilla.org/content/style-sheet-service;1"].getService(Components.interfaces.nsIStyleSheetService);
var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent(`
#configuration_toolbar {
appearance: none !important;
background-color: var(--toolbar-bgcolor);
background-image: var(--toolbar-bgimage);
background-clip: padding-box;
color: var(--toolbar-color, inherit);
}
#main-window:not([customizing]) #configuration_toolbar {
visibility: collapse;
}
#main-window[customizing] #configuration_toolbar #tb_config_tb_label {
font-weight: bold !important;
}
#main-window[customizing] #configuration_toolbar :is(#spacer,#separator,#spring) {
margin-inline-start: 20px;
}
#main-window[customizing] #configuration_toolbar :is(#wrapper-spacer,#wrapper-separator,#wrapper-spring) .toolbarpaletteitem-label {
display: block !important;
margin-inline-end: 20px;
}
#main-window[customizing] #wrapper-spacer #spacer {
margin: 2px 0 !important;
}
#main-window[customizing] #configuration_toolbar #wrapper-spring #spring {
margin: -1px 0 !important;
min-width: 80px !important;
}
#main-window[customizing] #configuration_toolbar > * {
padding: 2px !important;
}
#main-window[customizing] #configuration_toolbar > :is(#wrapper-spacer,#wrapper-separator,#wrapper-spring) {
border: 1px dotted !important;
margin-inline-start: 2px !important;
margin-inline-end: 2px !important;
}
#main-window[customizing] toolbarspacer {
border: 1px solid !important;
}
toolbar[orient="vertical"] toolbarseparator {
appearance: none !important;
border-top: 1px solid rgba(15,17,38, 0.5) !important;
border-bottom: 1px solid rgba(255,255,255, 0.3) !important;
margin: 2px 2px !important;
height: 1px !important;
}
toolbar[orient="vertical"] toolbarspacer {
appearance: none !important;
height: 18px !important;
width: 18px !important;
}
#customization-palette toolbarpaletteitem[id^="wrapper-customizableui-special-spring"],
#customization-palette-container :is(#spring,#wrapper-spring) {
display: none !important;
}
#main-window:not([customizing]) toolbar:not(#configuration_toolbar) toolbarspring {
max-width: 100% !important;
}
/*#menubar-items + spacer {
display: none !important;
}*/
`), null, null);
sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);
}
} catch(e){}
}
}
/* initialization delay workaround */
document.addEventListener("DOMContentLoaded", AddSeparator.init(), false);
/* Use the below code instead of the one above this line, if initialization issues occur on startup */
/*
setTimeout(function(){
AddSeparator.init();
},2000);
*/
Alles anzeigen
Wie bekomme ich hier im Forum die Scripte wieder kompakt angezeigt?
Danke schon mal hwww
Edit 2002Andreas:
Text in Code-Block eingefügt.
Da Du ja selber herausgefunden hast, dass die Software nicht mehr weiter entwickelt wird,
hilft Dir eventuell das hier weiter. => https://www.glarysoft.com/quick-startup/
Besten Dank für den Tipp aber ich bleibe bei "Xecutor". Habe ich seit Jahren und es ist recht einfach zu bedienen und FF ist jetzt wieder im Autostartordner.
Was Du auch machen könntest, den Aufgabenplaner von Windows bemühen.
Ja da habe ich auch einige Sachen drüber laufen.
Danke noch mal euch beiden und noch eine schöne Woche hwww
Hallo Sören
Besten Dank für deine Antwort. Das Programm ist schon vor Jahren von der Firma "Xpert-Timer Software" eingestellt worden. Die letzte Version ist vom Sep. 2014. Aber es funktioniert immer noch einwandfrei bis auf das kleine Problem mit FF. Habe trotzdem mal eine E-Mail an die Firma geschickt mit der Schilderung des Problems. Glaube aber nicht das da jemand Antwortet da ja "Xecutor" schon seit 2014 nicht mehr weiter entwickelt wird. Ist auch nicht so schlimm habe FF wieder in den Autostartordner verschoben.
PS: Das Argument -no-remote kannst du entfernen. Das gibt es nicht mehr und wird auch nicht benötigt.
Danke für den Tipp ist soeben entfernt worden.
Schöne Grüße hwww
Hallo
Ich habe ein uraltes Programm "Xecutor" zum Starten verschiedener Programme schon seit Jahren im Einsatz. Seit ein paar Tagen startet FF hiermit mit einem Rand (siehe Pfeile).
Starte ich FF über die Taskleiste und im Autostartordner startet er ohne Rand (siehe Bild).
Mit "Xecutor" mit diesem Parameter.
Und aus der Taskleiste mit diesem.
"C:\Program Files\Mozilla Firefox\firefox.exe" -p Standard -no-remote
Also mit dem gleichen.
Das Ganze ist nun kein Beinbruch würde nur gerne wissen wieso FF so unterschiedlich nach dem Start aussieht. Vielleicht hat ja jemand eine Erklärung hierzu. Ansonsten ist es auch nicht schlimm.
Danke schon mal hwww
Dann scheint also die aktuelle Version von Aris eine Macke zu haben
Ja scheint genau so zu sein. Deshalb warte ich noch etwas ob Aris ev. eine neue Version anbietet.
Allen erst mal recht vielen Dank für eure Hilfe und noch eine schöne Woche hwww
Teste mal bitte diese Version des Skriptes:
Ja da sind die Trennlinien aber nur bei Firefox anpassen zu sehen wenn ich zurück auf eine Webseite gehe sind sie wieder weg.
Und das hast du nicht im Anpassen-Fenster?
Hallo
Doch genau das habe ich bei Symbolleiste anpassen auch aber da sind halt keine senkrechten Trennlinien nur die breiten "Blöcke"
Besten Dank Andreas für deine Mühe. Werde dann mal abwarten ob der Autor da in nächster Zeit eine angepasste Version einstellt.
Wünsche dir noch eine schöne Woche hwww
Danke Andreas das habe ich noch in userChrome.css und das funktioniert ja auch. Nur in der URL Leiste kann ich die Trennlinien nicht mehr hinzufügen. Ich glaube das man da auch noch breitere "Blöcke" einfügen konnte? War in Symbolleiste anpassen zu finden.
Kann es sein das es dieser Code ist (war).
/* Restore 'Space & Separator' items script for Firefox 102+ by Aris
Default browser scripts always remove spaces and separators from default palette, so
because of that they are added to an own toolbar now.
- spaces and separators can be moved to any toolbar
- to remove spaces or separators move them into palette
- configuration toolbar behaves like a default toolbar, items and buttons can be placed on it
- configuration toolbar is not visible outside customizing mode
- default "Flexible Space" item is hidden from palette and added to configuration toolbar
[!] BUG: do not move spaces, flexible spaces or separator to configuration toolbar or it will cause glitches
[!] BUG: do not move main 'space'-item to palette or it will be hidden until customizing mode gets reopened
[!] Fix for WebExtensions with own windows by 黒仪大螃蟹 (for 1-N scripts)
*/
ChromeUtils.importESModule("resource:///modules/CustomizableUI.sys.mjs");
var appversion = parseInt(Services.appinfo.version);
var AddSeparator = {
init: function() {
if (location != 'chrome://browser/content/browser.xhtml')
return;
/* blank tab workaround */
try {
if(gBrowser.selectedBrowser.getAttribute('blank')) gBrowser.selectedBrowser.removeAttribute('blank');
} catch(e) {}
var tb_config_label = "Configuration Toolbar";
var tb_spacer_label = "Space";
var tb_sep_label = "Separator";
var tb_spring_label = "Flexible Space";
try {
if(document.getElementById('configuration_toolbar') == null) {
var tb_config = document.createXULElement("toolbar");
tb_config.setAttribute("id","configuration_toolbar");
tb_config.setAttribute("customizable","true");
tb_config.setAttribute("class","toolbar-primary chromeclass-toolbar browser-toolbar customization-target");
tb_config.setAttribute("mode","icons");
tb_config.setAttribute("iconsize","small");
tb_config.setAttribute("toolboxid","navigator-toolbox");
tb_config.setAttribute("lockiconsize","true");
tb_config.setAttribute("ordinal","1005");
tb_config.setAttribute("defaultset","toolbarspacer,toolbarseparator");
document.querySelector('#navigator-toolbox').appendChild(tb_config);
CustomizableUI.registerArea("configuration_toolbar", {legacy: true});
CustomizableUI.registerToolbarNode(tb_config);
var tb_label = document.createXULElement("label");
tb_label.setAttribute("label", tb_config_label+": ");
tb_label.setAttribute("value", tb_config_label+": ");
tb_label.setAttribute("id","tb_config_tb_label");
tb_label.setAttribute("removable","false");
tb_config.appendChild(tb_label);
var tb_spacer = document.createXULElement("toolbarspacer");
tb_spacer.setAttribute("id","spacer");
tb_spacer.setAttribute("class","chromeclass-toolbar-additional");
tb_spacer.setAttribute("customizableui-areatype","toolbar");
tb_spacer.setAttribute("removable","false");
tb_spacer.setAttribute("label", tb_spacer_label);
tb_config.appendChild(tb_spacer);
var tb_sep = document.createXULElement("toolbarseparator");
tb_sep.setAttribute("id","separator");
tb_sep.setAttribute("class","chromeclass-toolbar-additional");
tb_sep.setAttribute("customizableui-areatype","toolbar");
tb_sep.setAttribute("removable","false");
tb_sep.setAttribute("label", tb_sep_label);
tb_config.appendChild(tb_sep);
var tb_spring = document.createXULElement("toolbarspring");
tb_spring.setAttribute("id","spring");
tb_spring.setAttribute("class","chromeclass-toolbar-additional");
tb_spring.setAttribute("customizableui-areatype","toolbar");
tb_spring.setAttribute("removable","false");
tb_spring.setAttribute("flex","1");
tb_spring.setAttribute("label", tb_spring_label);
tb_config.appendChild(tb_spring);
// CSS
var sss = Components.classes["@mozilla.org/content/style-sheet-service;1"].getService(Components.interfaces.nsIStyleSheetService);
var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent(`
#configuration_toolbar {
appearance: none !important;
background-color: var(--toolbar-bgcolor);
background-image: var(--toolbar-bgimage);
background-clip: padding-box;
color: var(--toolbar-color, inherit);
}
#main-window:not([customizing]) #configuration_toolbar {
visibility: collapse;
}
#main-window[customizing] #configuration_toolbar #tb_config_tb_label {
font-weight: bold !important;
}
#main-window[customizing] #configuration_toolbar :is(#spacer,#separator,#spring) {
margin-inline-start: 20px;
}
#main-window[customizing] #configuration_toolbar :is(#wrapper-spacer,#wrapper-separator,#wrapper-spring) .toolbarpaletteitem-label {
display: block !important;
margin-inline-end: 20px;
}
#main-window[customizing] #wrapper-spacer #spacer {
margin: 2px 0 !important;
}
#main-window[customizing] #configuration_toolbar #wrapper-spring #spring {
margin: -1px 0 !important;
min-width: 80px !important;
}
#main-window[customizing] #configuration_toolbar > * {
padding: 2px !important;
}
#main-window[customizing] #configuration_toolbar > :is(#wrapper-spacer,#wrapper-separator,#wrapper-spring) {
border: 1px dotted !important;
margin-inline-start: 2px !important;
margin-inline-end: 2px !important;
}
#main-window[customizing] toolbarspacer {
border: 1px solid !important;
}
toolbar[orient="vertical"] toolbarseparator {
appearance: none !important;
border-top: 1px solid rgba(15,17,38, 0.5) !important;
border-bottom: 1px solid rgba(255,255,255, 0.3) !important;
margin: 2px 2px !important;
height: 1px !important;
}
toolbar[orient="vertical"] toolbarspacer {
appearance: none !important;
height: 18px !important;
width: 18px !important;
}
#customization-palette toolbarpaletteitem[id^="wrapper-customizableui-special-spring"],
#customization-palette-container :is(#spring,#wrapper-spring) {
display: none !important;
}
#main-window:not([customizing]) toolbar:not(#configuration_toolbar) toolbarspring {
max-width: 100% !important;
}
/*#menubar-items + spacer {
display: none !important;
}*/
`), null, null);
sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);
}
} catch(e){}
}
}
/* initialization delay workaround */
document.addEventListener("DOMContentLoaded", AddSeparator.init(), false);
/* Use the below code instead of the one above this line, if initialization issues occur on startup */
/*
setTimeout(function(){
AddSeparator.init();
},2000);
*/
Alles anzeigen
Hallo
Habe eben auf Version 141.0 upgedatet. Jetzt fehlen die senkrechte Trennlinie (siehe Bild). Ich weiß nicht mehr wie ich die irgendwann mal dazu gemacht habe. Glaube über Symbolleiste anpassen da sind sie aber nicht mehr zu finden. Vielleicht hat ja jemand schon eine Lösung? Blauer Pfeil so soll es aussehen grüner Pfeil so ist es im Moment.
Danke schon mal hwww
Hallo
Nur noch mal zur Info. Habe eben FF Portable heruntergeladen und versucht in Sandboxie zu starten. Auch damit das gleiche wie unter #1 beschrieben. Wer (FF oder Sandboxie) den Fehler verursacht versuche ich noch herauszufinden.
Hallo Andreas
Besten Dank für den Link. Hat alles funktioniert. Wird mir in Zukunft nicht noch mal passieren (hoffe ich). Alles abgespeichert.
Noch mal danke und noch eine schöne Woche hwww
Hallo
Bitte nicht böse sein für meine Frage. Habe FF neu installiert und den Inhalt der alten Profile in die neuen Profile kopiert. So weit so gut. Nun funktionieren aber die Scripte nicht mehr richtig. Ich weiß das da etwas in den Installationsordner muss und finde diese Dateien nicht mehr. Habe auch hier schon gesucht aber ev. die falschen Begriffe eingegeben. Kann mir jemand helfen diese Dateien für den Installationsordner zu finden so das alle Scripte wieder funktionieren.
Besten Dank schon mal hwww