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?
@voidabyss Bookmarklets are just browser bookmarks that point to javascript instead of a standard URL. You can just make a bookmark and save it in your favorites, then replace the URL with this code.
@kerim I tried your bookmarklet but it doesn't seem to work for #qoto e.g. ``https://qoto.org/@kerim@zirk.us``
don't return your profile from qoto.org domain.
#chatgpt
@freemo
@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 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 If you just click on my profile now, what URL do you see?