1573
this seems to be the theme of the season mateys
(lemmy.dbzer0.com)
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
It's feasible that there are other variables that have been missed, but essentially this works. The server asks us a question, and we answer it. We just skip the bit where we provide evidence.
It's like looking up the answers in the back of the textbook on a test. The only thing the server sees is the paper we're handing in, it has no idea if we cheated or not.
Boring technical explanation:
For a server (in this case, YouTube) to see what a client (your computer) is doing, it has to reach out and ask it. When a request is made, the two points will 'handshake' to confirm that they heard the request, then when they've done it. It looks something like this:
These steps can be repeated any number of times in response to a single user mouseclick, depending on what you're trying to do. A 'request timeout' error is what happens if client/server asks "are you prepared?" and it takes too long for the server/client to answer "yes, I am", so you hang up the phone.
For the server to treat clients differently at all, it needs to contact them for feedback. For adblocking, it has to ask your client if you're adblocking. Usually the server does this by sending the client a request to serve an ad - if your client never answers back to confirm it was loaded, then the server knows you blocked the ad. The devs can tell the server that if it doesn't get a certain answer, to enable the punishment effects. (They'll technically be sent anyway; they're just hidden/disabled by default if your client handshakes the ad.)
What these scripts do is lie to the server. The server asks the client if we received the ad, we ignore the script that checks whether the ad is loaded and instead directly change the answer to claim it has. Since all the server sees is the confirmation, it doesn't know the difference.