Hide everything outside body?

I need help please,

How can i hide all from outside “<body” - “</body>” with javascript (with or without jQuery) ?

I need something just like jquery .hide() to hide every element that shows outside of “body” in page.

It is only the elements inside body that show. Anything that’s outside is not considered visible content on the page.

Having that, what problem are you experiencing that you are trying to solve?

I have structure of page like this:

<html>
<body>

</body>
</html>
Something that i can’t delete/remove from code

I need to remove “Something that i can’t delete/remove from code”.

There are many ways to remove things, depending on what it is and how it is structured.

What is this something that you want to remove?