1
I use iframe in my project to open certain links from different sites! These links are stored in a database, but make a future progression these same links can be changed or deleted, soon they no longer exist, so I wonder if there is a way to check if the link still exists.
EX: I registered the link today on BD and for a month the link was active, after that month the link was disabled for some reason, this will generate a small inconvenience in my project! I would then like to check if the link I registered is still active whenever it is requested on BD.
Here comes the other part, as I commented on the question, I open the links on iframe, only that there are some sites that block this rendering within the iframe, Google and Twitter themselves are examples of this. I would like you to check the link at the same time that the script checks whether the link allows it to be opened inside a iframe and if the link no longer exists or it cannot be opened in a iframe I would like you to redirect the page to another stating that the link does not exist!
Ivan, you want to do this in the browser via Javascript or on the server side (back end)? In the second case, what platform/language is using?
– utluiz
I’d like to do it for the same browser!
– ivan veloso