diff --git a/platform/mv3/extension/js/popup.js b/platform/mv3/extension/js/popup.js index 2cb89045b..0556d6953 100644 --- a/platform/mv3/extension/js/popup.js +++ b/platform/mv3/extension/js/popup.js @@ -109,10 +109,13 @@ async function commitFilteringMode() { setFilteringMode(actualLevel); } if ( actualLevel !== beforeLevel && popupPanelData.autoReload ) { + const justReload = tabURL.href === currentTab.url; self.setTimeout(( ) => { - browser.tabs.update(currentTab.id, { - url: tabURL.href, - }); + if ( justReload ) { + browser.tabs.reload(currentTab.id); + } else { + browser.tabs.update(currentTab.id, { url: tabURL.href }); + } }, 437); } }