#Mastodon: Profiles don’t show the full Mastodon handle anymore (v4.3.0-nightly). You can use the following bookmarklet at someone’s profile:

javascript:{

function urlToHandle(url) {
const countAts = (str) => (str.match(/@/g) ?? []).length;
const localName = url.pathname.slice(1);
return (
countAts(localName) === 2
? localName
: `${localName}@${url.hostname}`
);
}
navigator.clipboard.writeText((urlToHandle(location)))
.catch((error) => {
alert(String(error));
});

}