Elektrine lite

← Feed

@chriskirknielsen@front-end.social

Post #1522492

2026-02-20 17:43 UTC

@netzhexe Yeah that's my understanding, too. That should allow us to remove any `[href^="https://"]:not([href^="https://example.com/"])` and such. Whether the link is `https://example.com/page` or just `/page`, it should match `:local-link` on the `example.com` domain. Unless I completely misread this haha.

Replies (2)

  • @netzhexe@chaos.social 2026-02-20 17:50

    @chriskirknielsen gods that would be so gooooood! I'm telling people over and over and over AGAIN currently 🫠

    Open ##1522493

  • @cwilcox808@c.im 2026-02-20 19:03

    @chriskirknielsen Meh, I think users rarely care or think about links being "internal" or "external." Even with the complexity of `:local-link(0)`, `:local-link(1)`, etc., it still can't treat `example.com` and `www.example.com` as "internal" but `cwilcox.example.com` as "external." @netzhexe

    Open ##1522494