3 ms·
It’s a truly evil genius hack. XHR has a legacy synchronous API. So what they do is make a fake window object and any time something touches it, they do an asyn
by earthboundkid 4y ago
It’s a truly evil genius hack. XHR has a legacy synchronous API. So what they do is make a fake window object and any time something touches it, they do an async call out to the real window, but they make it look synchronous by doing the call via XHR to itself. Such a crazy hack!