Skip to content

Commit

Permalink
fix: "Reload Tab Every..." Not Reloading on Waterfor 6.5.1 (closes #363)
Browse files Browse the repository at this point in the history
  • Loading branch information
onemen committed Nov 19, 2024
1 parent 4ed5096 commit ff188a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions addon/chrome/content/overlay/autoReload.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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"] {
Expand Down
2 changes: 1 addition & 1 deletion addon/modules/AutoReload.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ff188a0

Please sign in to comment.