<html>
 <head>
  <title><!--IMAIL.MailboxFolderSummary--></title>
  <script language="javascript">
   alert(document.title)
  </script>
 </head>
...

The above works.  So if you are within a frameset you can use the following
code.  This will let you clean up pages that even have " and ' quotes in them.
The only problem will be if the text has </title> in the returned message.

Also i don't know what size limitations there are on the <title> tag.

<html>
 <head>
  <title><!--IMAIL.MailboxFolderSummary--></title>
  <script language="javascript">
    function replace(instring,replaceword,replacewith)
{
    var text=" " + instring + " ";
    apos= text.indexOf(replaceword);
    while (apos > -1)
    {
        text=text.substring(1,apos) + replacewith +
text.substring(apos+replaceword.length,text.length);
        apos=text.indexOf(replaceword);
    }
    return text;
}
</script>



<!--html stuff here--->



<script language="javascript">
newlongstring = replace(document.title,"<TABLE Border=1>","<table
border=0>");
document.write(newlongstring);
</script>

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to