Sun Java System Messenger Express 6 2005Q4 Customization Guide

Example— Disable the filtering of the HTML tags

The example shows how to disable filtering of JavaScript tags in the mails.

Example— Disable the filtering of the HTML tags shows the /html/main.js file before changing the file for disabling the filtering of Javascript tags in the mails.


Example 3–24 Before editing the main.js file.


....
load(msgFrame, msgHREF + 'msg.msc?sid=' + sid + '&security=' +
security + '&mbox=' + encode(selectmbox) + '&uid=' + num +
'&process=js,link,target,html' + 
binhex + maxtext +
get_charset())
....


            

Example— Disable the filtering of the HTML tags shows the changes to be made in the /html/main.js file for disabling the filtering of Javascript tags in the mails


Example 3–25 After altering themain.js file.


....
load(msgFrame, msgHREF + 'msg.msc?sid=' + sid + '&security=' +
security + '&mbox=' + encode(selectmbox) + '&uid=' + num +

'&process=link,target,html' + 
binhex + maxtext +
....