I have two inputs for set urls, first for image and second for some site
I must to load image and site in iframe
If user set url with scheme everything is ok, the problems spears when url does not contains the scheme 'http://' or 'https://'
how to add right scheme to url
make a request to 'http://' + my_url and check if the code if is 404 make another request to 'https://' + my_url