I wanted to know how to do a JS, to display the contents of certain parts of a website, only after all the content has been loaded, this includes, JS, Images, CSS and Some external data like the facebook plugin return. ..
It is resolved by combining the response of
thiagobarradas and Silvio Andorinha
And even though they are not fully efficient, as the facebook data is the first to be called from the time of loading everything since the data after it is slower