Hi there rodents, admins specifically this time,

I don’t know if what I’m going to question was intended to be this way, as the lemmy website ui is supposed to work with javascript enabled, or not.

Just 10 minutes ago I read that the federation was enabled so I wanted to try it out.

I found a post from @dess_ds9 and I tried to open its profile.
The page opens without a beat, showing its profile, but If I try to click its identifier with javascript disabled, instead of loading https://ds9.lemmy.ml/u/dess_ds9 I’m redirected to https://lemmy.ml/https://ds9.lemmy.ml/u/dess_ds9 .

The same happens with communities.

I noticed this behaviour because I usually navigate the web with javascript disabled. Is it supposed to be this way?
If it’s not a bug, could it be made to work even without javascript?

Thanks again for your work!

  • clockwise_bitOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 years ago

    That’s unfortunate. Would it be possible to have a nojs alternative tag?
    If not, it’s ok, I can still enable javascript or use alternative ways ('till now I’ve been using my bookmarks script to append url parameters when giving me the link)

    • DessalinesMA
      link
      fedilink
      arrow-up
      1
      ·
      4 years ago

      Unfortunately not, the site is made in js, and I don’t have time to re-write a non-live-updating / non-dynamic version of lemmy. Its an open source codebase tho, if you can find a way to do this, I’d look at a PR.

      • clockwise_bitOP
        link
        fedilink
        arrow-up
        2
        ·
        4 years ago

        I can’t guarantee anything, but maybe in a couple of months I’ll have time to look into it.