﻿url = window.location + "";

if (url.indexOf("www") < 0 && url.indexOf("https://") >= 0)
{
    //window.location = url.replace("https://", "https://www.");
}
