artur,
very cool work, it is actually bypasses already beyond my expectation if not for speed, but this isnt solvable i think, at least not so easy.
but what concerns youtube and other pages holding streaming content netsurf is eating up my whole ram on a4k while it doesnt show even much of the page, what would execuse it. might it be it already tries to load some complete stream into the ram before displaying it?