My coworker was making a browser extension recently and noticed that most of Facebook’s frontend code is crazy bullshit designed to make it difficult for scrapers and bots to navigate the DOM.
The saddest part of it is that none of it is particularly effective, it just means they had to write 2 lines of code to grab the fields they wanted instead of 1, so all that’s happened is Meta have made everything worse for everyone and burned an extra kajillion client-side CPU cycles worldwide, for almost no benefit.
My coworker was making a browser extension recently and noticed that most of Facebook’s frontend code is crazy bullshit designed to make it difficult for scrapers and bots to navigate the DOM.
The saddest part of it is that none of it is particularly effective, it just means they had to write 2 lines of code to grab the fields they wanted instead of 1, so all that’s happened is Meta have made everything worse for everyone and burned an extra kajillion client-side CPU cycles worldwide, for almost no benefit.