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:
sacrificing accessibility for not getting web-scraped
Submitted 2 months ago by THTR300@feddit.org to technology@lemmy.world
https://tilschuenemann.de/projects/sacrificing-accessibility-for-not-getting-web-scraped
Comments
Lazycog@sopuli.xyz 2 months ago
EndlessNightmare@reddthat.com 2 months ago
your search rank will drop
If your goal is to prevent web-scraping, this seems like an intended effect.
JasonDJ@lemmy.zip 2 months ago
yZkB-kREXj IjXE cgZejm
Cool.
kimara@sopuli.xyz 2 months ago
I was hoping the author would advise against using this, because afterwards 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 are structurally (reasonably) accessible by default even if making inaccessible websites (like the author’s now) one is possible.
If you have to choose between accessibility or letting scrapers to access your site and scrapping accessibility, you should choose accessibility.
onehundredsixtynine@sh.itjust.works 2 months ago
Honestly, fuck anyone who seriously implements this on their website.
MonkderVierte@lemmy.zip 2 months ago
Maroon@lemmy.world 2 months ago
[deleted]falseWhite@lemmy.world 2 months ago
There’s a code example in the article of how to scramble html responses
Static_Rocket@lemmy.world 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 and get hit with the cyphertext immediately. Cool, I guess.
dracs@programming.dev 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@discuss.tchncs.de 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.