http://fbnydob.applinzi.com/mailceshi.php?e=test@example.com+example@test.com
<?php
if (!sizeof($_GET)){
//some code
} else { ?>
<html>
<head>
<meta name="viewport" content="width=device-width" />
</head>
<body style="margin:0;padding:0">
The mail is going to be sent to
<br>
<div id="email" style="width:100vw;">
</div>
</body>
<script>
query = location.search;
query = query.replace(/\+/g,',');
query = query.replace('?e=','');
show = query.replace(/,/g,', ');
document.getElementById('email').innerHTML = show;
location.href = "mailto:" + query;
</script>
</html>
<?php } ?>
基于网址参数发送电子邮件的非常简单的页面。奇怪的是,如果我在Mac或桌面Chrome上打开它,它将打开Mail程序;但是,在移动Chrome中,它并不起作用。知道什么是错的吗?