I finally found a simple solution :
- define html body invisible by default with CSS :
<style>
html { visibility:hidden; }
</style>
- set it visible on document.ready event (at the end of the page) :
<script>
$(document).ready(function() {
document.getElementsByTagName("html")[0].style.visibility = "visible";
});
</script>