• Static_Rocket@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    ·
    2 months ago

    Ironically, my first instinct to opening that page and seeing it’s unusual layout and density on mobile was to switch to the reader view. Immediately getting hit with the cyphertext output. Cool, I guess.

    • dracs@programming.dev
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      2 months ago

      I did the exact same thing. Wouldn’t like to see it adopted due to accessibility issues. But its a neat trick.

      • cmnybo
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 months ago

        It would be better to use Anubis to try to block the bots or use Iocaine and let the bots scrape as much garbage as they want.

  • cog@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    14
    ·
    2 months ago

    For those who are too lazy to check what people here in the comments are saying, here’s what happpens when you open the page in reader mode:

    a web page in firefox's reader mode displays the unobfuscated headline "sacrificing accessibility for not getting web-scraped" while the rest of the text is cryptic combination of numbers and letters instead of the actual content text.

  • kimara@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 months ago

    I was hoping the author would advise against using this, because after doing this your website isn’t accessible.

    I don’t think this is the answer to web scrapers, since it so adversely affects people with disabilities. The web is one of the few things that is structurally (reasonably) accessible by default even if making inaccessible websites (like the author’s is now) is possible.

    If you have to choose between accessibility or letting scrapers to access your site and scrapping accessibility, you should choose accessibility.