Wow. I actually did something useful with #ChatGPT! I get annoyed that some #Mastodon URLs send you to the homepage of the instance, making them difficult to follow from your own account, so I asked GPT to write a #javascript bookmarklet to redirect those URLs to my own domain. I just tried it and it works!
@kerim That is impressive, although I don't know to use the bookmarklet feature?
@kerim @freemo If I understand correctly the bookmarklet transform the url `zirk.us/@kerim `` to ``https://qoto.org/@kerim@zirk.us``
So I can follow your profile directly from my domain.
The issue I have is that url returns page not found for some reason.
@voidabyss If you just click on my profile now, what URL do you see?
@voidabyss Seems your server is configured differently than mine. I can't test for you, but try:
https://qoto.org/web/accounts/@kerim@zirk.us
and
https://qoto.org/web/@kerim@zirk.us
Do either of those work for you?
@kerim neither works, it shows resource not found
@voidabyss You'll have to ask your system admin. I see your server is running Mastodon v3.2.1, while mine is running version 4, that might be part of the issue?
@voidabyss @freemo That is because it is supposed to work in the opposite direction. It solves the problem that if you are at http://zirk.us/@kerim you can't easily follow or interact with my profile, so it directs you to my profile as you would see it from your own domain.