News for hackers. Stuff that matters.
Re:Google begins requiring JavaScript for Google Search by bythreads on Saturday January 18, 2025 @05:48AM (#42747431)
Iframes lazy

Object content as lazy

Embed lazy

Image lazy

Link rel=import (not support that widely though)

Heck if you wanted to get REALLY cute you go use multipart-mixed-replace headers.

Or SSE

Re:Google begins requiring JavaScript for Google Search by bythreads on Saturday January 18, 2025 @05:52AM (#42747454)
now that i think about it you could do it quite nicely with svg's and foreignObject
Re:Google begins requiring JavaScript for Google Search by DanielHB on Sunday January 19, 2025 @10:44AM (#42757990)
You could use some simple CSS tricks (like flex-direction: column-reverse) to make the end of the HTML render above the search results and just keep appending the AI generated text to the HTML without closing the connection.