To automatically open a website in the Wayback Machine, add the following bookmarklet to your bookmarks bar:
javascript:void((function(){location.href='https://web.archive.org/web/*/'+location.href;})());
Clicking the bookmarklet will open the current page in the Wayback Machine.