function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sunny.sfdcsunny.sfdc 

Page load check in lightning

I have a requirement in lightning components where I need to check whether a URL is working or not. I am using navigateToURL to navigate to that page but not able to handle the status in my lightning component.
Is there a way in lightning component by which I can check whether a URL is working or not? e.g www.google.com page is up and running or not.
GhanshyamChoudhariGhanshyamChoudhari
it is not  achievable because due to lockerservice you cant use XMLHttpRequest so you can't check the state of a link
sunny.sfdcsunny.sfdc
Thanks for the response Ghanshyam. Any workaround for this?
S