diff --git a/layouts/tweet/script.js b/layouts/tweet/script.js index fe30d854..54283c95 100644 --- a/layouts/tweet/script.js +++ b/layouts/tweet/script.js @@ -873,6 +873,8 @@ setTimeout(async () => { currentLocation = location.pathname; }); + history.scrollRestoration = 'auto'; + // Run updateUserData(); updateSubpage(); diff --git a/scripts/injection.js b/scripts/injection.js index 0894512b..96fafce1 100644 --- a/scripts/injection.js +++ b/scripts/injection.js @@ -537,7 +537,7 @@ let page = realPath === "" ? pages[0] : pages.find(p => (!p.exclude || !p.exclud icon.id = "site-icon"; document.head.appendChild(icon); - history.scrollRestoration = 'manual'; // let's test if it'll make things better + history.scrollRestoration = 'manual'; chrome.runtime.sendMessage({ action: "inject",