• rayb@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    userscripts are great for proof of concept to show off and let people test it. However, can userscripts work across so many domains that lemmy instances are on? Maybe a list of domains has to be maintained in the userscript?

    Any particular things you thought you might fix with userscripts?

    • david@quo.ink
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      2 years ago

      Good points there.

      Maybe this has some issues I hadnt thought about yet. I was thinking, in comments, certain Lemmy links should be rewritten so you load them on your own instance and can actually interact.

      Like if a link is ‘!communty@external.tld’, rewrite it to ‘usersinstance.tld/c/community@external.tld’ However, I guess if a community hasn’t been discovered by that instance yet it would 404.

      Obviously I haven’t looked at the source or even activity pub spec so just thinking blindly.