Click here to Skip to main content
15,034,432 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When the page loading some URL requests are failure. I want to get that failure URLs. How to get that URLs[^]

1 solution

if your urls was image src , you can with onerror attribute get the failure url .

<img src="" onerror="alert(this.src)" />
Member 8041178 6-Mar-14 1:12am
Thanks. It is working. But I am using JS to create the iframe. Dynamic Iframe. But inside the JS file it is not working.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900