hy all

i have a small problem, i want to read the actual page source code before the dom is ready.

i think the best place is the <head> tag to load my function.
but inside the head, i cant find a way to read the raw source code.

I tried
.... yes i know the dom is not ready, the html not finaly parsed, so document.body is undefined :/

now i search a way to read the source code.
im open for all solutions

Thanks all!