网页添加密码验证公众号引流代码,主要用于网页加密,关注公众号回复固定密码访问
密码简单做了下加密,毕竟防不了小人
公众号二维码,密码,提示直接修改放入相应地方就可以了
代码如下:
<div>
<link class="external" rel="nofollow" target="_blank" href="https://marciehk.com/go/?url=aHR0cHM6Ly9jZG5qcy5jbG91ZGZsYXJlLmNvbS9hamF4L2xpYnMvc3dlZXRhbGVydC8xLjEuMy9zd2VldGFsZXJ0Lm1pbi5jc3M=" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
<script type="text/javascript">
swal({
title:'',
text:"为防止接口泛滥,特加验证",
type:'input',
closeOnConfirm: false,
closeOnCancel: false,
confirmButtonText: "确 认",
imageUrl: 'https://june-1312800210.cos.ap-nanjing.myqcloud.com/uploads/mall4/20230221/78a2d3b46a8a1fe29e03ad8e15b8e64b.jpg',imageSize: '200x200',
inputPlaceholder:"关注公众号:“尼趣”获取验证码",
showLoaderOnConfirm:true,
},function(inputValue){
if (inputValue != '334') {
swal.showInputError('输入错误,关注即可获取');
return;
}
else{
swal.close('334');
return;
}
});
</script>
</div>