fetch can be used without CORS setting mode to "no-cors", which should work for a GET, but may get rejected by the server, @evan.
const response = await fetch('https://example.com/.well-known/webfinger?resource=acct:example@example.com', {mode: 'no-cors',});More