1605
submitted 10 months ago by griD@feddit.de to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Anticorp@lemmy.ml 11 points 10 months ago

I'm out of the loop. What happened? Did someone decompile their code and find definitive proof of a throttle for Firefox?

[-] griD@feddit.de 20 points 10 months ago* (last edited 10 months ago)

some explanation

To be fair, they used setTimeout() and not thread.sleep() because the latter isn't possible out of the box in JS ^^

[-] Wild_Mastic@lemmy.world 14 points 10 months ago* (last edited 10 months ago)

Users who have ad blockers installed may experience suboptimal viewing

Yeah let me turn off the adblocker just for having an even more suboptimal viewing due to ads. They're lunatics.

[-] Thorned_Rose@kbin.social 3 points 10 months ago

Thanks for the explainer! Also, Google's response is such a crock of shit.

[-] Synthead@lemmy.world 17 points 10 months ago

JavaScript is an interpreted language, so no decompilation is necessary, although this is repeatable by using a Firefox user agent.

[-] kogasa@programming.dev 6 points 10 months ago

You can build a virtual machine in JavaScript and execute compiled code on it

[-] palordrolap@kbin.social 3 points 10 months ago
[-] kogasa@programming.dev 2 points 10 months ago

Oh yeah, you shouldn't. But people do this for fingerprinting, bot detection, and other "adversarial" scenarios where you really don't like the person executing your code. It's somewhat plausible Google would use this technique to do something scummy like this (although that is not the case).

Relevant article and a great read: https://www.nullpt.rs/reverse-engineering-tiktok-vm-1

[-] Synthead@lemmy.world 1 points 10 months ago
this post was submitted on 21 Nov 2023
1605 points (98.0% liked)

Programmer Humor

32060 readers
1076 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS