I think you can do it without extensions in firefox since they let you configure your own referrer-policy: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Re... (search for "about:config")
But even in my own APIs I check for referrers to make sure they are actually coming from my site so I assume this will break some pages.