• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Merak Webmail Java Script Problem

K

knocx

Guest
PLESK 7.5 Win with Merak;

Problem : when user types webmail.domain.com gets a Javascript error

Reason: PSA redirects users to webmail login in a frame like this

<HTML>
<HEAD>
<TITLE> Plesk Web Mail Client </TITLE>
</HEAD>
<FRAMESET rows="*,0">
<FRAME src="http://main.mydomain.com:32000/mail" noresize>
<NOFRAMES>
Your browser does not support frames.
</NOFRAMES>
</FRAMESET>
</HTML>

Merak Webmail login page has a java script on it

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">

if (top.length != self.length)
{
var isskin = parent.document.getElementById("foldermenu");
if(isskin) top.location.href = self.location.href;
}
document.login.username.focus();
</SCRIPT>

which can not access to top.length (i guess) and give a pop-up error that confuses the users,

Solution: i have removed PSA forwarding with a simple refresh
 
Back
Top