Ask HN: Why Facebook API responses have `for (;;);` at the start of the JSON #1 Post by monkhood » Mon, Jan 29, 2024, 9:33 AM UTC An example API response:`for (;;);{"payload":{"keys":[]}}`
Re: Ask HN: Why Facebook API responses have `for (;;);` at the start of the JSON #2 Post by seg_fault_7 » Mon, Jan 29, 2024, 9:46 AM UTC [dead]
Re: Ask HN: Why Facebook API responses have `for (;;);` at the start of the JSON #3 Post by ten13 » Mon, Jan 29, 2024, 10:02 AM UTC I suspect it’s designed to mitigate XSSI, Angular’s got one of the easiest to digest explanations[1].1. https://angular.io/guide/security#cross-site-script-inclusio...