var loginbox = ""; loginbox += ' '; document.write(loginbox); const url = new URL(window.location.href); if((url.hostname == "www.stonepoll.com" || url.hostname == "stonepoll.com") && url.pathname == "/") { _fromurl = encodeURIComponent(window.location.href); _checkurl = "https://u.uc.stonepoll.net/plugin/uc/uc_check.php?backurl="+_fromurl; //alert(_checkurl) window.location.href = _checkurl; }