Commit 9d1e55a0 authored by Pallav Agarwal's avatar Pallav Agarwal

Add a auto https redirect. Untested

parent 4d665f7a
Pipeline #2719933 passed with stage
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
......@@ -6,7 +6,14 @@ if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
&& (window.location.protocol != 'https:')){
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment