A browser extension? While I agree, the client (browser) probably has to know about ActivityPub, or store some state that sites can read (without third party cookies), it's not fair to expect users install a browser extension for what would be basic functionality in their eyes.
Thankfully, there are proposals to add ActivityPub as a web API: https://github.com/webap-api/webap-browser-extension