4 ms·
It does not need much to add the "follow with one click" to your browser. This code works for me: let your_instance="masto.ai"; document.location=(
by mg 4y ago
It does not need much to add the "follow with one click" to your browser. This code works for me:
let your_instance="masto.ai";
document.location=(
"https://"
+ your_instance
+ "/authorize_interaction?uri="
+ encodeURIComponent(document.location)
)
You can make it a bookmarklet or a chrome extension to have it at your fingertips. (Set your_instance to the Fediverse server you use first)
You can use my bookmarklet editor to turn it into a bookmarklet:
https://www.gibney.org/bookmarklet_editor https://www.gibney.org/bookmarklet_editor
- mkl 4y agoIf it's so simple, why is it not part of the default UI?
- mg 4y agoWhen you go to https://masto.ai/@mg https://masto.ai/@mg the UI of masto.ai cannot know which Fediverse server you use. Just like when you see an email on a website, that website cannot know which email service you use. To easily follow someone on the Fediverse, your browseer needs to know how to handle Fediverse links for you. Just like your browser needs to know how to handle email links for you.
- chrismorgan 4y agoBut with email, there are mailto: links, and email clients (locally-installed apps or webmail) can register themselves to handle such links. What’s missing here is a standardised protocol scheme.
- noirscape 4y agoIt used to be. Mastodon removed it when they rewrote their entire UI in React in favor of their current messy "copy-paste a url into search" setup. The old follow button would just open a popup where you entered your home instance + username. It would then redirect you to your instance (not needing a sign in cuz you're already logged in on that) and your instance would do all the magic for following.
- truckerbill 4y agobut the point is people won't do this.
- rvz 4y agoExactly. Why is it so hard for techies to understand that celebrating and optimizing for complexity and difficulty, isn't a great selling point for Mastodon?
- MrJohz 4y agoMost people don't browse the internet with an adblocker, let alone know how to write their own bookmarklet.
- mg 4y agoMost people don't use a standing desk. Despite health benefits such as reducing back pain, improving posture, and reducing the risk of obesity and other chronic diseases. Yet, standing desks exists. I think that's a good thing.
- MrJohz 4y agoStanding desks and bookmarklets are both cool things that should definitely exist, I'm not knocking either of them. But if software has a UX problem and the only viable solution requires copying snippets of code around, then that is a reasonable criticism of the software.