Report question

Question: How to run JavaScript code before page load?