Most mass scrapers, on the other hand, simply grab the raw HTML underneath. ShieldFont exploits this difference through an automated process called OpenType glyph substitution.

That said, because the whole defense rests on scrapers reading code rather than screens, taking a screenshot of a shielded page and running OCR on the image can still recover the real words.

Screen readers used by blind readers also work from the code, so they read the decoys aloud. ShieldFont ships with a beta feature that provides those readers with the real text instead.

  • Pika@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    24 minutes ago

    I want to follow that project. The only thing that I don’t like is how heavily reliant the person who runs the github is on AI-gen

    Normally, I don’t really care about it because I know that it’s something that is just a part of the industry now, but they’re using it even on their responses to people on the issue requests, and it’s to the point where it’s hurting my head trying to read it due to how drawn out and detailed it ends up being.

    It’s really hard to follow along a project where something as simple as someone opening an issue about how it doesn’t work with screen readers turns into a multi paragraph essay about the project and possibilities on how it works.

    • FTonsilStones@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      21
      ·
      2 hours ago

      Per the article, yes:

      Screen readers used by blind readers also work from the code, so they read the decoys aloud.

      But:

      ShieldFont ships with a beta feature that provides those readers with the real text instead.

    • gex@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 hour ago

      Yes, the decoy text is marked aria-hidden, so it won’t be read out loud. The real text is sent to the browser encrypted, and the decryption process takes ~20 seconds, roughly the same as running ocr.

      • T156@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 minutes ago

        Presumably the AI scraper would also have OCR, and would sidestep things like this?

  • AbouBenAdhem@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 hours ago

    If the underlying text says one thing but the font makes it appear to say something else, which version does the author own the copyright to?

    • Catoblepas@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 hours ago

      Who cares if gibberish text is copyrighted? Putting your work in a funky text doesn’t make what you wrote no longer copyrighted.

      • AbouBenAdhem@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        32 minutes ago

        Say someone else takes the visual result of the font’s output and re-posts it as plain text.

        If anyone searches for that text, their version will come up as the first (and only) published version. Anyone who tries to reference it will cite their version instead of yours. You’d have to convince the court that a clearly different text you published earlier is really the same thing, as long as you view it with a special font that magically transforms it into the text you’re trying to claim—the judge would just as likely think you’re a copyright troll.