vimfx.listen("goWayBack", async (_, msg) => { content.location.replace("https://web.archive.org/"+content.location) }) vimfx.listen("goWayForward", (_, msg) => { content.location.href = content.location.href .replace(new RegExp("^.+://web.archive.org/web/[0-9*]+/"), "") }) vimfx.listen("location.replace", (url, msg) => { content.location.replace(url) })