Skip to content

Commit

Permalink
make scrollrestoration manual
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Sep 16, 2023
1 parent 061da33 commit 3fc641d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/injection.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,8 @@ 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

chrome.runtime.sendMessage({
action: "inject",
data: [
Expand Down

0 comments on commit 3fc641d

Please sign in to comment.