我有以下应该打开的javascript函数(在我们的例子中是lotus notes),并带有预填充的电子邮件。
function emailpage() {
strTitle = document.title;
strTitle = strTitle.replace("&","-");
window.location = "mailto:" + "?subject=I thought this link might interest you." + "&body=" + strTitle + " - " + window.location;
}
但相反,我得到了这个: