Dann kontrolliere bitte nochmal ob Du das Script richtig gespeichert hast
und achte darauf, dass es in UTF-8 Codierung ist.
Dann kontrolliere bitte nochmal ob Du das Script richtig gespeichert hast
und achte darauf, dass es in UTF-8 Codierung ist.
Hast Du im Anpassen Fenster mal nachgeschaut?
So sieht es hier aus:
Also bei mir funktioniert es.
Ganz rechts in das Nabbar ist er hier zu finden.
Leider ein ziemlich blasser Throbber der beim Neuladen eines Tabs dann rotiert.
Ging auf Anhieb.
Mfg.
Endor
Hallo NoNameNeeded
Teste mal dieses Script
Script:
// 'Activity throbber' script for Firefox 60+ by Aris
Components.utils.import("resource:///modules/CustomizableUI.jsm");
var {Services} = Components.utils.import("resource://gre/modules/Services.jsm", {});
var sss = Components.classes["@mozilla.org/content/style-sheet-service;1"].getService(Components.interfaces.nsIStyleSheetService);
var at_label = "Activity Throbber";
var ActivityThrobber = {
init: function() {
try {
document.addEventListener("TabAttrModified", _ActivityThrobber, false);
document.addEventListener('TabSelect', _ActivityThrobber, false);
document.addEventListener('TabOpen', _ActivityThrobber, false);
document.addEventListener('TabClose', _ActivityThrobber, false);
document.addEventListener('load', _ActivityThrobber, false);
// add or remove 'busy' tab from activity item
function _ActivityThrobber() {
if(gBrowser.selectedTab.hasAttribute('busy')) {
document.querySelector('#activity_throbber').setAttribute('busy','true');
} else document.querySelector('#activity_throbber').removeAttribute('busy');
}
// create a default toolbar button
CustomizableUI.createWidget({
id: "activity_throbber", // button id
defaultArea: CustomizableUI.AREA_NAVBAR,
removable: true,
label: at_label, // button title
tooltiptext: at_label, // tooltip title
onCreated: function(button) {
return button;
}
});
// style button icon / embedded non-animated icon, because there is no image for then inside Fx anymore
var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent('\
\
#activity_throbber { \
-moz-appearance: none !important; \
list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJ1BMVEUAAAC0tLS0tLSysrK0tLS0tLS0tLS1tbW0tLS6urq0tLS3t7eurq4SF2bYAAAADXRSTlMA2oILm3RnVEEF0y4TZ0HrPwAAAE5JREFUCNdjAAIjZQYISBQDU1uUA0WNvIEMR/FDOoUiQIbiCgaGLiEgY3oDAwNHJQPDtGCQQtNMBkWQKJCEM+BSMMVw7XAD4VYgLIU7AwA5fBJ3rMaMkwAAAABJRU5ErkJggg==); \
width: 16px !important; \
height: 16px !important; \
} \
#activity_throbber *,\
#activity_throbber:hover * { \
-moz-appearance: none !important; \
opacity: 1.0 !important; \
box-shadow: unset !important; \
background: unset !important; \
} \
#activity_throbber[busy] { \
list-style-image: url("chrome://global/skin/media/throbber.png"); \
} \
\
'), null, null);
// remove old style sheet, before registering the new one
if (sss.sheetRegistered(uri,sss.AGENT_SHEET)) { sss.unregisterSheet(uri,sss.AGENT_SHEET); }
sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);
} catch (e) { Components.utils.reportError(e); }
}
};
document.addEventListener("DOMContentLoaded", ActivityThrobber.init(), false);
Alles anzeigen
Quelle:
Hoffe es funktioniert noch.
Mfg.
Endor
wenn ich mich nicht irre, verwendet Du ja schon Scripte.
Dieses hier fügt in die Symbolleiste eine Anzeige des aktuell verwendeten Speichers
ein. Kannst Du an die gewünschte Position über den Anpassen Dialog schieben.
Bei Klick drauf wird die Speicherbelegung reduziert.
(Also nicht mehr benötigter Speicher wieder frei gegeben.)
// ==UserScript==
// @name MemoryUsage.uc.js
// @namespace http://space.geocities.yahoo.co.jp/gl/alice0775
// @description Memory Usage resident memory in MB
// @include main
// @charset UTF-8
// @author Alice0775
// @compatibility 99+
// @version 2022/03/31 23:00 Clicking on the button minimizes memory and updates the usage display.
// @version 2021/09/18 20:00 no longer available resident-unique from MRM due to Bug 1665318. so use commit size instead of resident-unique size
// @version 2021/09/18 20:00 missing MRM
// @version 2021/06/17 22:00 use ChromeUtils.requestProcInfo
// @version 2021/06/17 19:00
// @version 2021/06/15
// ==/UserScript==
var ucjsMemoryUsage = {
INTERVAL: 10, //Abstand in Sekunden
MRM : Components.classes['@mozilla.org/memory-reporter-manager;1']
.getService(Components.interfaces.nsIMemoryReporterManager),
init: function() {
try {
CustomizableUI.createWidget({
id: 'memoryUsageButton',
type: 'custom',
onBuild: function(aDocument) {
let toolbaritem = aDocument.createXULElement('toolbarbutton');
let props = {
id: 'memoryUsageButton',
class: 'toolbarbutton-1 chromeclass-toolbar-additional',
label: 'MemoryUsage',
tooltiptext: 'Speicher Belegung minimieren',
onclick: 'ucjsMemoryUsage.MRM.minimizeMemoryUsage(()=>{});ucjsMemoryUsage.requestMemory()'
};
for (let p in props)
toolbaritem.setAttribute(p, props[p]);
return toolbaritem;
}
});
} catch(e) {}
style = `#memoryUsageButton .toolbarbutton-text {
display: inline-block !important;
font-weight: bold !important;
font-size: 13px !important;
}
#memoryUsageButton .toolbarbutton-icon {
display: none !important;
}`
let sss = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService);
let uri = makeURI('data:text/css;charset=UTF=8,' + encodeURIComponent(style));
if(!sss.sheetRegistered(uri, sss.AUTHOR_SHEET))
sss.loadAndRegisterSheet(uri, sss.AUTHOR_SHEET);
window.addEventListener("unload", this, false);
window.setInterval(this.requestMemory, this.INTERVAL * 1000);
this.requestMemory();
},
uninit: function() {
window.removeEventListener("unload", this, false);
},
requestMemory: async function() {
let winTop = Services.wm.getMostRecentWindow("navigator:browser");
if (winTop == window) {
let total =0;
const regex = new RegExp("^resident-unique$");
const handleReport = (aProcess, aPath, aKind, aUnits, aAmount) => {
if(regex.test(aPath)) {
//Services.console.logStringMessage("aPath " + aPath);
total += aAmount;
}
};
await new Promise((r) => {
ucjsMemoryUsage.MRM
.getReports(handleReport, null, r, null, false);
}
);
//Services.console.logStringMessage("total " + txt);
let txt = Math.ceil(total/1024/1024);
for (let win of Services.wm.getEnumerator("navigator:browser")) {
if (win.closed || !win.gBrowser) {
continue;
}
let btn = win.document.getElementById("memoryUsageButton");
if (btn)
btn.setAttribute("label", txt + " MB");
}
}
},
handleEvent: function(event) {
switch (event.type) {
case "unload":
this.uninit();
break;
}
}
}
ucjsMemoryUsage.init();
Alles anzeigen
Vielleicht reicht Dir das schon.
Mfg.
Endor
Hallo Hiarcs.
Ich verwende auch diese Seite von Whatsapp um Text zu schreiben und habe keinerlei Probleme
damit in Firefox 99. Verwendest Du einen Werbeblocker wie ublock oder so. Welche Antivirus Lösung
verwendest Du? Blockierst du Cookies usw. ?
Mfg.
Endor
Hallo Abendstern2010 , phil0sofa und Merowinger86 .
Alles alles Gute zum Geburtstag !
Vor allem viel Gesundheit wünsche ich euch.
Mfg.
Endor
Scrollbar ist hier nur beim laden sichtbar.
Damit ist sie hier dann weg:
.main-content{scrollbar-width: none !important;}
Danke für den Anstoß.
Mfg.
Endor
Ja den Zusätzlichen Code habe ich auch übernommen.
Passt perfekt. Danke dafür.
Mfg.
Endor
Hallo FuchsFan
Danke für die Hinweise.
about:debugging
passt perfekt. Danke!
about:logins
funktioniert hier einwandfrei.
about:about
da wurde hier ein Eintrag entfernt nämlich
about:devtools fehlt hier jetzt.
about:welcome
da waren hier nur die beiden Schaltflächen zu hoch.
hier meine Version:
@-moz-document url(about:welcome) {
html, #root{background:#ffffff!important;}
.screen{background: transparent !important;}
.outer-wrapper{background-image: none !important;}
.main-content{ background: rgba(255, 255, 255, 0.7)!important;}
:focus-visible {outline: none !important;}
.outer-wrapper{
justify-content: center!important;
margin-left: auto !important;
margin-right: auto !important;
max-width: 1400px !important;
min-height: 90vh !important;
max-height: 90vh !important;
margin-top: 30px !important;
margin-bottom: 20px !important;
padding-bottom: 20px !important;
padding-top: 15px !important;
padding-left: 50px !important;
padding-right: 50px !important;
background: #fffff0 !important;
border-left-color: lightblue!important;
border-top-color: lightblue!important;
border-right-color: dodgerblue!important;
border-bottom-color: dodgerblue!important;
border-radius: 20px !important;
border-width: 4px !important;
border-style: outset !important;}
.outer-wrapper:hover{
border-left-color: #bbddff !important;
border-top-color: #bbddff !important;
border-right-color: #11508d !important;
border-bottom-color: #11508d !important;}
h1{
color: #cc0000 !important;
font-size: 35px !important;
font-weight: bold !important;}
#mainContentHeader{
color: #cc0000 !important;
font-size: 20px !important;
font-weight: bold !important;
}
.section-left{display: none !important; }
.secondary-cta > span:nth-child(1){
color: #1a75ff !important;
font-weight: bold !important;
font-size: 17px !important;}
h2{
color: #1a75ff !important;
margin-top: 20px !important;
margin-bottom: 10px !important;
font-weight: bold !important;
font-size: 17px !important;}
.welcome-text{margin-bottom: 10px !important;}
.screen:before {
position:absolute !important;
top: 50px !important;
left: 500px !important;
content: "Endors Firefox";
font-weight:bold !important;
font-size: 26px !important;
color:red !important; }
.primary{
margin-top: 15px !important;
appearance: none !important;
background: #0060df url("..//icons/Fuchs4.png") no-repeat !important;
background-position:16px 8px!important;
padding-left: 50px!important;
border-left-color: lightblue!important;
border-top-color: lightblue!important;
border-right-color: dodgerblue!important;
border-bottom-color: dodgerblue!important;
border-width:2px !important;
border-style: outset !important;
border-radius:30px!important;}
.primary:hover{
background: #003eaa url("..//icons/Fuchs4.png") no-repeat !important;
background-position:16px 8px!important;
border-left-color: lightblue!important;
border-top-color: lightblue!important;
border-right-color: dodgerblue!important;
border-bottom-color: dodgerblue!important;
border-width:2px !important;
border-style: outset !important;
border-radius:30px!important;}
div.secondary-cta:nth-child(2) > button:nth-child(1){
appearance:none!important;
background: #F0F0F0 url("..//icons/Bild15.png") no-repeat !important;
margin-top: 15px !important;
height: 32px !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
padding-right:35px!important;
padding-left:40px!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:12px 6px!important;
border-radius:20px!important;
line-height: 0 !important;
}
div.secondary-cta:nth-child(2) > button:nth-child(1):hover{
appearance:none!important;
background: #B2EDFA url("..//icons/Bild15.png") no-repeat !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
background-position:12px 6px!important;
border-radius:20px!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;}
div.secondary-cta:nth-child(1) > button:nth-child(1){
appearance:none!important;
background: #F0F0F0 url("..//icons/Bild42.png") no-repeat !important;
height: 35px !important;
margin-top: 40px !important;
margin-right: -50px !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
padding-right:35px!important;
padding-left:40px!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:12px 8px!important;
border-radius:20px !important;
line-height: 0 !important;}
div.secondary-cta:nth-child(1) > button:nth-child(1):hover{
appearance:none!important;
background: #B2EDFA url("..//icons/Bild42.png") no-repeat !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
background-position:12px 8px!important;
border-radius:20px!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;}
}
Alles anzeigen
Mfg.
Endor
Womit unterdrückst Du die Cookies Abfrage?
Denn das verursacht dein Problem.
Irgend eine Erweiterung oder womit?
Fragen oder Antworten, bitte immer hier im Forum stellen.
Nur hier kann ich helfen.
Mfg.
Endor
Bei mir sieht es genau so aus wie bei Dakmar .
Habe dann in uBlock diese beiden Filter eingefügt, dann konnte ich die Seite
normal bedienen.
Das weiße Feld oben, ist wahrscheinlich eine Cookies abfrage die durch eine Erweiterung
blockiert wird. Hier ublock und oder uMatrix.
Mfg.
Endor
Nur als Hinweis:
Der Autor hat diese Legacy Erweiterung nach Github migriert.
Daher wäre es ihm lieber wenn man dort Fragen und Probleme,
logischer Weise in englischer Sprache, dort meldet.
https://github.com/onemen/TabMixPlus/issues
Mfg.
Endor
Eben auch in meinem Hauptfuchs mit aktiven Account getestet, da
ist sie auch da. Komisch. Du hast die nicht eventuell ausgeblendet?
Mfg.
Endor
Hallo FuchsFan
Habe oben den CSS Code nochmals aktualisiert.
Die Schaltfläche unten musste ich nochmals anders ansprechen.
Die Schaltfläche oben wurde damit auch angesprochen und das wollte
ich nicht.
Ich habe nur diesen Teil neu gemacht,
div.secondary-cta:nth-child(2) > button:nth-child(1){
appearance:none!important;
background: #F0F0F0 url("..//icons/Bild15.png") no-repeat !important;
margin-top: 15px !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
padding-right:35px!important;
padding-left:40px!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:12px 6px!important;
border-radius:20px!important;
line-height: 2 !important;}
div.secondary-cta:nth-child(2) > button:nth-child(1):hover{
appearance:none!important;
background: #B2EDFA url("..//icons/Bild15.png") no-repeat !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
background-position:12px 6px!important;
border-radius:20px!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;}
div.secondary-cta:nth-child(1) > button:nth-child(1){
appearance:none!important;
background: #F0F0F0 url("..//icons/Bild42.png") no-repeat !important;
margin-top: 40px !important;
margin-right: -50px !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
padding-right:35px!important;
padding-left:40px!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:12px 7px!important;
border-radius:20px!important;
line-height: 2.2 !important;}
div.secondary-cta:nth-child(1) > button:nth-child(1):hover{
appearance:none!important;
background: #B2EDFA url("..//icons/Bild42.png") no-repeat !important;
color:black!important;
font-size:14px!important;
text-decoration:none!important;
background-position:12px 7px!important;
border-radius:20px!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;}
Alles anzeigen
Einfach den vorhandenen Teil damit ersetzen.
Zeile 112 bis Ende.
Mfg.
Endor
Ja die Schriftgröße passt gut so wie Du es gemacht hast.
Danke nochmals für Deinen Code und den Hinweis.
Den Button unten hatten wir schon mal. Da hat sich nur die Bezeichnung
geändert daher ging es nicht mehr.
Mfg.
Endor