4 ms·
yes, the initiator is a valid HTML with a `<script>` pointing to the script that receives the JSON and render the page. The interesting part is you can `fetch`
by gpnt 6y ago
yes, the initiator is a valid HTML with a `<script>` pointing to the script that receives the JSON and render the page. The interesting part is you can `fetch` the page directly and it will respond a valid JSON.
- bluehex 6y agoOnce that script is kicked off it can get the current body of the page (the JSON) and replace it with html with: JSON.parse(document.body.innerText); document.body.innerText="" etc...