Hallo ArisCTR,
könnte es das selbe Problem sein was ich im Beitrag #2057 geschildert habe?
Gruß
EDV-Oldi
Beiträge von edvoldi
-
-
Hallo Boersenfeger,
bei mir funktioniert Dein Code auch.
Allerdings habe ich ja mit den Statusleiste und Clippings die weiter oben geschilderten Probleme.
Gruß
EDV-Oldi -
Hallo Sören,
in beiden Satusleisten habe ich diesen Code eingefügt.
Wie oben schon geschrieben haben Boersenfeger und ich nur Probleme im zusammen spiel mit Clippings.
Gruß
EDV-Oldi -
Hallo Speravir,
meine beiden Statusleisten funktionieren ohne Probleme bis Firefox 67.x
Ich habe nur ein Problem mit dem Addn On "Clippings", dass funktioniert nicht richtig wenn die Statusleisten aktiv sind.
Gruß
EDV-Oldi -
Hallo zusammen,
ab Firefox 65 habe ich ein Problem mit Clippings und zwei Scripts.
Ich habe zwei Statusleisten mit folgendem Code:Zitatvar tb = document.createElement('toolbar');
tb.id = 'fp-statusbar-2';
tb.setAttribute('customizable', true);
tb.setAttribute('mode', 'icons');var parentE = document.getElementById('PersonalToolbar').parentNode;
var childE = document.getElementById('PersonalToolbar');
parentE.insertBefore( tb , childE );CustomizableUI.registerArea( 'fp-statusbar-2' , { legacy: true } );
CustomizableUI.registerToolbarNode(tb);
undZitat/* Statusleiste für Firefox 65.0 + x */
(function() {
if (location != 'chrome://browser/content/browser.xul')
return;
var tb = document.createElement('toolbar');
tb.id = 'new-toolbar';
tb.setAttribute('customizable', true);
tb.setAttribute('mode', 'icons');var vbox = document.createElement('vbox');
document.getElementById('navigator-toolbox').parentNode.insertBefore(
vbox, document.getElementById('browser-bottombox'));
vbox.style.backgroundColor = '#ffe4c4';
vbox.appendChild(tb);CustomizableUI.registerArea('new-toolbar', {legacy: true});
CustomizableUI.registerToolbarNode(tb);
})();
Wenn auch nur einer dieser Codes aktiv ist, kann ich Clippings öffnen, aber nichts mehr sehen.
Es wird nur ein leeres Fenster angezeigt.
Wo könnte der Fehler liegen?
Gruß
EDV-Oldi -
Hallo Andreas,
mit Deinem Script funktioniert es jetzt bei mir.
:klasse:
Danke
Gruß
EDV-Oldi -
Hallo Boersenfeger,
auch mein Script funktioniert nicht mehr.Code
Alles anzeigensetTimeout(function() { if (!window.BrowserSearch) return; var searchbar = BrowserSearch.searchBar; if (!searchbar) return; var textbox = document.getAnonymousElementByAttribute(searchbar, 'anonid', 'searchbar-textbox'); var input = document.getAnonymousElementByAttribute(textbox, 'anonid', 'input'); var tId; input.addEventListener('input', function() { clearTimeout(tId); tId = setTimeout(function() { input.value = ''; document.getElementById('PopupSearchAutoComplete').hidePopup(); }, 5000); }); }, 0);
Da hat sich wohl einiges geändert.
Gruß EDV Oldi -
teste einmal diesen Code:
CSS
Alles anzeigen/* Aktueller Tag in der Tagesansicht */ .calendar-day-label-name[relation="today1day"] { color: red !important; font-weight: bold !important; } #day-view calendar-header-container[relation="today1day"], #day-view .calendar-event-column-linebox[relation="today1day"] { background: silver !important; } /* --------------------------------------------------------- */ /* Aktueller Tag in der Wochenansicht */ .calendar-day-label-name[relation="today"] { color: red !important; font-weight: bold !important; } #week-view calendar-header-container[relation="today"], #week-view .calendar-event-column-linebox[relation="today"] { background: silver !important; } /* --------------------------------------------------------- */ /* Aktueller Tag in mehrwöchiger und Monatsansicht */ .calendar-month-day-box-date-label[relation="today"] { color: red !important; font-weight: bold !important; } .calendar-month-day-box-current-month[relation="today"], .calendar-month-day-box-day-off[relation="today"], .calendar-month-day-box-other-month[relation="today"] { border: 3px solid red !important; } .calendar-month-day-box-current-month[relation="today"], .calendar-month-day-box-day-off[relation="today"], .calendar-month-day-box-other-month[relation="today"], .calendar-month-day-box-date-label[relation="today"] { background: silver !important; } /* --------------------------------------------------------- */
Gruß
EDV-Oldi -
Da muss ein neuer Eintrag rein:Danke das war es. :klasse:
Gruß EDV Oldi -
Ja, Du hast Recht.
Ich habe die meisten Symbole in der Statusleiste und wie es aussieht werden die angezeigt, aber es sind keine Symbole drin.
1.Statusleiste.ucCode
Alles anzeigenvar tb = document.createElement('toolbar'); tb.id = 'fp-statusbar-2'; tb.setAttribute('customizable', true); tb.setAttribute('mode', 'icons'); var parentE = document.getElementById('PersonalToolbar').parentNode; var childE = document.getElementById('PersonalToolbar'); parentE.insertBefore( tb , childE ); CustomizableUI.registerArea( 'fp-statusbar-2' , { legacy: true } );
2.Statusleiste.uc
Code
Alles anzeigen(function() { if (location != 'chrome://browser/content/browser.xul') return; var tb = document.createElement('toolbar'); tb.id = 'new-toolbar'; tb.setAttribute('customizable', true); tb.setAttribute('mode', 'icons'); var vbox = document.createElement('vbox'); document.getElementById('navigator-toolbox').parentNode.insertBefore( vbox, document.getElementById('browser-bottombox')); vbox.appendChild(tb); CustomizableUI.registerArea('new-toolbar', {legacy: true}); })();
Gruß EDV-Oldi -
Wäre gut, wenn du ein das eine oder andere Scripts nennen / zeigen könntest, welches nicht mehr geht, sonst lässt sich dazu wenig sagen.
Ich habe doch geschrieben das keins mehr funktioniert. -
Wie sieht es bei Euch im aktuellen Nightly aus?
Bei mir funktioniert kein Script mehr.
Wenn ich die Version vom 11.11. wieder installiere ist alles okay?
Gruß
EDV-Oldi -
Da muss es einen Unterschied gegeben haben. Der kann bloß bei Firefox, beim Skript selbst oder in der userChrome.js im Profl liegen.
Das kann schon sein, ich benutze diese Version sehr selten und es war auch nur ein versehen das ich diese Version ausgewählt habe.
Ich vermute das in der Devel Version noch ein altes Script drin war das störte.
Gruß
EDV-Oldi -
So ich habe jetzt das Profil der Beta Version in die Developer 64.0b4 kopiert und das Script funktioniert jetzt auch in dieser Version.
Gruß
EDV-Oldi -
Aller anderen Scripts funktionieren, auch die Anpassung sind in alle Versionen identisch.
Gruß
EDV-Oldi -
Hallo milupo,
ja es ist die "Developer-Version" auf meinem Desktop steht aber noch Aurora, das ist für mich klarer. :lol:
Ich hatte durch Zufall diese Version gestartet und auf den Button von diesem Script geklickt.
Bei allen anderen Versionen erscheint in der linken Spalte ein Hinweis "Verfügbare Updates" und oben steht "keine Updates gefunden".
Das erscheint nicht in der "Developer-Version", ist aber nicht tragisch das es in allen anderen Versionen funktioniert.
Gruß
EDV-Oldi -
Außer in Aurora ja.
Gruß
EDV-Oldi -
Komisch, dieses Script funktioniert nur im Aurora 64.0b4 nicht, in allen anderen Version funktioniert es. :traurig:
Gruß
EDV-Oldi -
Hallo zusammen,
bei mir funktioniert dieseZitat(function() {
if (location != 'chrome://browser/content/browser.xul')
return;
if (CustomizableUI.getPlacementOfWidget('addons-update-button'))
return;try {
CustomizableUI.createWidget({
id: 'addons-update-button',
defaultArea: CustomizableUI.AREA_NAVBAR,
label: 'Add-ons Update',
tooltiptext: 'Add-ons Update',
onCommand: onCommand,
onCreated: function(button) {
button.style.listStyleImage = 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB9klEQVR42o2TP2gTURzHvwcRXqDDCzi8gww+cfACBRsoJAWXji0KzZFBxUELDoouOmnG6JQiWOogVAcpHUpvKDRLQbekoKRDJXHyLYHLIOQNhXtgBt+7u+SSpkq+w93xu9/vw++vhVj0MiUOyzicEo5LuFh/ACGV6PT6HflbKmOyzINnGdt5kPOKnBYxg5pCNu99apdEt9cLAYdPi4cr8+kVDGYJ10oB3mlQdzebqxZnlLZf5vsEwYzRkRTSyL1pZSznCuPtZ/zXlMcNV9e2FH2LBvCjDrAFoNsYueTeiashoPV4EkDWNrSzA/ltP2rwohumjZ9foI5qI7/8+yHgkT0CkGvLwK0q5KYLovzIWK6BXNf2754GVBPABz8GPEwAithQKQJ6JmJiBmqOQekGEyUTqAF8HALuJwDML4OY2gcK6us2EPQj+811Xf+J7kcrAXwOAZS37oyVcLsCFO5CHXvAQSWyLZaist6ugvRFAtg1gOw0QJrGFXTQmYyMcxRytwJyWp8YVAIoj/eAhoHh24nH2GmADHT95yad39MApm+gUbZ9OwVq1mNyWeKsppaEwB9ALu35drjKzwvs1YuFdHXa8V9bCNROgsrGce91CDCX6GbJkxJPr9sE9v+CfQXfE8H2fldtmYu0xn8a0IUZn0tgeMpGfwErbLqeHktDngAAAABJRU5ErkJggg==)';
}
});
} catch(e) {
return;
};function onCommand(event) {
let frameScript = function() {
addEventListener('pageshow', function onPageshow(event) {
if (event.target.location != 'about:addons')
return;
content.gViewController.doCommand('cmd_findAllUpdates');
content.gViewController.doCommand('cmd_goToAvailableUpdates');
removeEventListener('pageshow', onPageshow);
});
};
let frameScriptURI = 'data:,(' + frameScript.toString() + ')()';
let window = event.target.ownerGlobal;
window.openTrustedLinkIn('about:addons', 'tab');window.gBrowser.selectedBrowser.messageManager.loadFrameScript(frameScriptURI, true);
};})();
Script nicht mehr ab Firefox 64.0b4, kann das einer bestätigen?
Gruß
EDV-Oldi -
Ah ja, da müssen wir etwas mehr ändern:
Hallo aborix,
vielen Dank das Script funktioniert in Thunderbird & Firefox bis zur Version 65.
Hier noch einmal beide Scripts:Code
Alles anzeigen// ==Userscript== // @name Open Chrome Directory // Dieses Skript öffnet mit dem Hotkey "Alt + c" direkt den Chromeordner. // @include * // ==/Userscript== (function(win){ Components.utils.import("resource://gre/modules/Services.jsm"); function openChromeDirectory() { // Get the chrome directory. let currUChrm = Services.dirsvc.get("UChrm", Ci.nsIFile); let chromeDir = currUChrm.path; // Show the chrome directory. let nsLocalFile = Components.Constructor("@mozilla.org/file/local;1","nsIFile", "initWithPath"); new nsLocalFile(chromeDir).reveal(); } if (typeof win.openChromeDirectory == 'undefined') { win.openChromeDirectory = openChromeDirectory; win.addEventListener('keydown', function(e) { if (e.altKey == true && e.keyCode == 67) { e.preventDefault(); openChromeDirectory(); } }, false); } })(window);
Code
Alles anzeigen// ==Userscript== // @name Open Profile Directory // Dieses Skript öffnet mit dem Hotkey "Alt + p" direkt den Profilordner. // @include * // ==/Userscript== (function(win){ function openProfileDirectory() { Components.classes["@mozilla.org/file/directory_service;1"] .getService(Components.interfaces.nsIProperties) .get("ProfD", Components.interfaces.nsIFile) .launch(); } if(typeof win.openProfileDirectory == 'undefined') { win.openProfileDirectory = openProfileDirectory; win.addEventListener('keydown', function(e) { if (e.altKey == true && e.keyCode == 80) { e.preventDefault(); openProfileDirectory(); } }, false); } })(window);
Gruß EDV Oldie