just replace the code by using the method:
url = url.replace(“https”,”http”);
About Zahid Mughal
Founded by Zahid Mughal in Lahore, Pakistan, MagentoGems Providing Freelancing Services to Pakistan Software Houses and International Clients (USA, UK, Australia, India, Canada) in Web Design, Web Development, Mobile Applications, Search Engine Optimization (SEO), Graphic Design and Content Writing.
Our core function is to meet the needs of our clients and provide them with services of the highest quality. To offer our clients the best websites in the market, we adhere to all the set W3C international standards. These standards ensure that our clients’ sites are compatible to various browsers and smart phone applications including the iPhones.