// somewhere in content page // requires jquery // Gemini assisted answer // tested <script> $(document).ready(function() { // Your code here alert("The DOM is ready!"); contentPageScript(); }); </script>