Snip.ly perfectly checks if the entered web address can be used in an iframe. I would like to reproduce it in ruby. Looking through their code, they send an ajax request to their server, and this is where they do the verification.
Even after the extensive search engine was unable to find anything that could help me with this.
My use case is that we allow users to add news lists to their page that appear in the iframe, and would like to show this if the entered url can be used in the iframe.
source
share