[New Feature] Detecting if the page is loaded