We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ca3008 commit f4c9cf3Copy full SHA for f4c9cf3
src/background.ts
@@ -6,7 +6,9 @@ chrome.action.onClicked.addListener(async (tab) => {
6
active: false,
7
});
8
await chrome.tabs.create({
9
- url: `https://web.archive.org/web/20230000000000*/${tab.url}`,
+ url: `https://web.archive.org/web/${new Date().getFullYear()}0000000000*/${
10
+ tab.url
11
+ }`,
12
index: tab.index + 2,
13
14
0 commit comments