While surfing facebook and using the Firebug network debugger I noticed that facebook's AJAX responses all start with an empty for loop.
Example:
for(;;);{...}
Does anyone know why this is done? I assume it's to prevent some sort of XSS attack but I don't totally understand. Thanks!
Like google's
while(1);
it done for preventing of including this in <script>
with further using the data
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With