12

Right now there seems to be a bit of an issue where if I want to share a link to a lemmy post with a friend, but if we call different servers our "home", even though both of our "homes" have a roughly similar copy of the same post, there currently is no easy way that I perceive for us to navigate to "our" copy of that post.

This becomes further of an issue when it comes to search engine parsing. For example I use lemmy.world as my "home" server, however when I find information on google it may link to the fedia.io or whatever "sources" link.

For reading this is no big deal.

But if I want to respond to the post, I now need to somehow figure out a way to re-route to the lemmy.world copy of that post to make my submission with my user account.

I think ideally what we need to consider is perhaps one of the following:

A: a browser plugin that can automatically detect and redirect to the matching version of the post for your server

B: OAuth support, so I can OAuth login to any lemmy server with my credentials from my "home" server via an OAuth v2 token

you are viewing a single comment's thread
view the rest of the comments
[-] Gamera8ID@lemm.ee 3 points 1 year ago

ChatGPT and I came up with this bookmarklet which I'm using until this is resolved.

You set your home instance, then just click it when on a post on another instance. It grabs the post title and the author, redirects to a post search of the title on your home instance, and copies the author to your clipboard to Ctrl-F if there are too many results.

You have to be pretty quick on the draw to be able to enable clipboard access when using it on a new instance for the first time. So it's like a game, too.

javascript:(function(){
  let instance = "lemm.ee";
  const personListing = document.querySelector('.person-listing');
  const author = personListing.getAttribute('title');
  navigator.clipboard.writeText(author);
  alert("Post author copied to clipboard.\n\nCtrl-F + Crtl-V when redirected, if necessary.");
  var title = document.title;
  var lastDashIndex = title.lastIndexOf(" - ");
  if (lastDashIndex !== -1) {
    title = title.substr(0, lastDashIndex);
  }
  var encodedTitle = encodeURIComponent(title);
  let search = "https://" + instance + "/search?q=" + encodedTitle + "&type=Posts";
  window.location.href = search
})();
this post was submitted on 04 Jul 2023
12 points (87.5% liked)

General Discussion

11946 readers
3 users here now

Welcome to Lemmy.World General!

This is a community for general discussion where you can get your bearings in the fediverse. Discuss topics & ask questions that don't seem to fit in any other community, or don't have an active community yet.


🪆 About Lemmy World


🧭 Finding CommunitiesFeel free to ask here or over in: !lemmy411@lemmy.ca!

Also keep an eye on:

For more involved tools to find communities to join: check out Lemmyverse!


💬 Additional Discussion Focused Communities:


Rules

Remember, Lemmy World rules also apply here.0. See: Rules for Users.

  1. No bigotry: including racism, sexism, homophobia, transphobia, or xenophobia.
  2. Be respectful. Everyone should feel welcome here.
  3. Be thoughtful and helpful: even with ‘silly’ questions. The world won’t be made better by dismissive comments to others on Lemmy.
  4. Link posts should include some context/opinion in the body text when the title is unaltered, or be titled to encourage discussion.
  5. Posts concerning other instances' activity/decisions are better suited to !fediverse@lemmy.world or !lemmydrama@lemmy.world communities.
  6. No Ads/Spamming.
  7. No NSFW content.

founded 1 year ago
MODERATORS