js判断当前协议头,并把https:强制改为http
<script data-fixed="true">
!function(){
var protocol = window.location.protocol;
if (protocol == "https:") {
window.location.href = window.location.href.replace("https","http");
}
}();
</script>
js判断当前协议头,并把https:强制改为http
<script data-fixed="true">
!function(){
var protocol = window.location.protocol;
if (protocol == "https:") {
window.location.href = window.location.href.replace("https","http");
}
}();
</script>