Skip to content

Commit f4c9cf3

Browse files
committed
Use current year
1 parent 4ca3008 commit f4c9cf3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/background.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ chrome.action.onClicked.addListener(async (tab) => {
66
active: false,
77
});
88
await chrome.tabs.create({
9-
url: `https://web.archive.org/web/20230000000000*/${tab.url}`,
9+
url: `https://web.archive.org/web/${new Date().getFullYear()}0000000000*/${
10+
tab.url
11+
}`,
1012
index: tab.index + 2,
1113
active: false,
1214
});

0 commit comments

Comments
 (0)