3 ms·
It seems like the bulk of it is only a few lines going by the GitHub. I don't know enough to know how to do it, but if you do, you might offer a bookmarklet ver
by Kye 4y ago
It seems like the bulk of it is only a few lines going by the GitHub. I don't know enough to know how to do it, but if you do, you might offer a bookmarklet version for privacy-conscious people as a pull request.
https://github.com/rugk/mastodon-simplified-federation https://github.com/rugk/mastodon-simplified-federation
- TekMol 4y agoPhew, there are so many files and lines in that repo. As far as I understand it, all that has to be done is something like: document.body.innerHTML.replace(/<some_regex>/,'<some_string>') Where <some_regex> matches strings of type @someone@someinstance.tld and '<some_string>' turns that into <a href=https://yourinstance/web/@someon@someinstance.tld>@someon@someinstance.tld</a>