Some websites like Y8 games, vseigru etc. scrape games from itch io and straight up pirate HTML5 games on their websites.
So the (obfuscated) anti-piracy function checked whether the host server url contains certain whitelisted strings, like “itch io” “bdrgames” etc. However it seems like Y8 games was able to remove it somehow 😤🤷♂️