From ff188a0cea2a5044f4974c4b7318b30d03807b61 Mon Sep 17 00:00:00 2001 From: onemen Date: Tue, 19 Nov 2024 13:58:04 +0200 Subject: [PATCH] fix: "Reload Tab Every..." Not Reloading on Waterfor 6.5.1 (closes #363) --- addon/chrome/content/overlay/autoReload.css | 6 ++++++ addon/modules/AutoReload.jsm | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/addon/chrome/content/overlay/autoReload.css b/addon/chrome/content/overlay/autoReload.css index c11bce8b..9d3907af 100644 --- a/addon/chrome/content/overlay/autoReload.css +++ b/addon/chrome/content/overlay/autoReload.css @@ -36,6 +36,9 @@ html|fieldset { background-size: 8px; background-position: right 3px center; width: 14px; + appearance: none; + -moz-context-properties: fill; + fill: currentColor; } .select-button:hover { @@ -54,6 +57,9 @@ html|fieldset { .select-menupopup menuitem { padding-inline: 10px 0; + /* for Waterfox 6.5.0 */ + --menu-background-padding-default: 10px; + --context-menu-mac-padding: 10px; } input[type="number"] { diff --git a/addon/modules/AutoReload.jsm b/addon/modules/AutoReload.jsm index c3ce01b4..12fe204f 100644 --- a/addon/modules/AutoReload.jsm +++ b/addon/modules/AutoReload.jsm @@ -426,7 +426,7 @@ function doReloadTab(window, browser, tab, data) { // Also reset DOS mitigations for the basic auth prompt on reload. delete browser.authPromptAbuseCounter; - if (TabmixSvc.version(1290) || TabmixSvc.version(1283, "esr") || TabmixSvc.version({fp: "128.0.0"})) { + if (TabmixSvc.version(1283)) { if (window.document.hasValidTransientUserGestureActivation) { loadFlags |= Ci.nsIWebNavigation.LOAD_FLAGS_USER_ACTIVATION; }