写一个网页跳转添加微信好友的代码
<!DOCTYPE html>
<html>
<head>
<title>添加微信好友</title>
</head>
<body>
<h1>添加微信好友</h1>
<p>请扫描下面的二维码或者搜索微信号添加好友。</p>
<img src="https://example.com/wechat_qrcode.jpg" alt="微信二维码">
<script>
setTimeout(function() {
window.location.href = "weixin://";
}, 5000); // 5秒后跳转到微信
</script>
</body>
</html>
<p>注:需要将上面的 "https://example.com/wechat_qrcode.jpg" 替换为实际的微信二维码图片链接。</p>
原文地址: https://www.cveoy.top/t/topic/bl8K 著作权归作者所有。请勿转载和采集!