rem: gSpamSettings = window.arguments[0].spamSettings; 
add: gLogView = document.getElementById("logView"); gLogView.docShell.allowJavascript = false; 
context: function onLoad(){  gSpamSettings = window.arguments[0].spamSettings;  gLogJunk = document.getElementById("logJunk");  gLogJunk.checked = gSpamSettings.loggingEnabled;  gLogView = document.getElementById("logView");  // for security, disable JS  gLogView.docShell.allowJavascript = false;  // if log doesn't exist, this will create an empty file on disk  // otherwise, the user will get an error that the file doesn't exist  gSpamSettings.ensureLogFile();  gLogView.setAttribute("src", gSpamSettings.logURL);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7e9f8ed691e8d34d1b6215146d35d56843e97965/junkLog.js/clean/mailnews/base/resources/content/junkLog.js