I was using the qoute function on the AT OT forum and after hitting reply I got a window full of code (see below). I hit refresh on the post and my reply came up but its kind of annoying.
function ftgetpermission(permissiontext){ return window.confirm(permissiontext) } function winopen(url,winname,x,y){ var options = "toolbar=no,scrollbars=yes,resizable=yes,width=" + x + ",height=" + y; msgWindow=window.open(url,winname,options); } function pmwinopen(url,winname,x,y){ var options = "toolbar=no,scrollbars=no,resizable=no,width=" + x + ",height=" + y; msgWindow=window.open(url,winname,options); } function videowindow(theURL,winName,features) { window.open(theURL,winName,features); } function ftcontexthelp(Obj,helptext){ Obj.style.cursor='help'; Obj.setAttribute('title',helptext); } // used in messagepost.cfm to check length of text fields for various db types and to control duplicate posting function checkpost() { if(document.messagepostform.FTVAR_POSTCHECKFRM.value != 'sent') { var msglen = document.messagepostform.FTVAR_MESSAGETEXTFRM.value if (msglen.length > 64000 ) { alert('The message cannot exceed 64000 characters'); return false; } document.messagepostform.FTVAR_POSTCHECKFRM.value = 'sent' return true; } else { alert('This message was already submitted, duplicate posting is not allowed'); return false; } } function changestyleover(element){ var el = document.getElementById(element); el.className='ftmenurollover'; el.style.cursor='hand'; } function changestyleout(element){ var el = document.getElementById(element); el.className='ftmenutd'; } function popmod() { if((document.getElementById('toolslayer').style.visibility) == "hidden") { document.getElementById('toolslayer').style.visibility="visible"; } else { document.getElementById('toolslayer').style.visibility="hidden"; } } function modtoolbox(strlocation, selectobj) { if(ftgetpermission('Are you sure you want to perform this operation?')) { if(strlocation.indexOf("banning.cfm") != -1) { winopen('banning.cfm','ftbanning','400','295'); } else { location.href=strlocation; } selectobj.selectedIndex =1; } } function copycode(clipdata){ window.clipboardData.setData("Text", clipdata); } function getapprovepermission(cid,tid,mid) { if(window.confirm('Are you sure that you want to approve this message?')) { location.href='messageview.cfm?catid='+cid+'&threadid='+tid+'&messid='+mid+'&ApproveMess=y'; } } function verify() { if (document.profileform.FTVAR_PASSWORDFRM.value != document.profileform.FTVAR_VERIFICATIONFRM.value) { alert('Sorry your passwords do not match, please make sure both passwords match for verification \n'); return false; } return true; } function verifyemail() { if (document.profileform.FTVAR_EMAILADDRESSFRM.value != document.profileform.FTVAR_EMAILADDRESSVERFRM.value) { alert('Sorry your e-mail addresses do not match, please make sure both e-mail addresses match for verification \n'); return false; } return true; } function verifyboth() { if (document.profileform.FTVAR_PASSWORDFRM.value != document.profileform.FTVAR_VERIFICATIONFRM.value) { alert('Sorry your passwords do not match, please make sure both passwords match for verification \n'); return false; } if (document.profileform.FTVAR_EMAILADDRESSFRM.value != document.profileform.FTVAR_EMAILADDRESSVERFRM.value) { alert('Sorry your e-mail addresses do not match, please make sure both e-mail addresses match for verification \n'); return false; } return true; } function viewauthoricon(url,vara,x,y) { var options = "toolbar=no,scrollbars=no,resizable=ye
edit:
I think its happening every time I use the qoute button
function ftgetpermission(permissiontext){ return window.confirm(permissiontext) } function winopen(url,winname,x,y){ var options = "toolbar=no,scrollbars=yes,resizable=yes,width=" + x + ",height=" + y; msgWindow=window.open(url,winname,options); } function pmwinopen(url,winname,x,y){ var options = "toolbar=no,scrollbars=no,resizable=no,width=" + x + ",height=" + y; msgWindow=window.open(url,winname,options); } function videowindow(theURL,winName,features) { window.open(theURL,winName,features); } function ftcontexthelp(Obj,helptext){ Obj.style.cursor='help'; Obj.setAttribute('title',helptext); } // used in messagepost.cfm to check length of text fields for various db types and to control duplicate posting function checkpost() { if(document.messagepostform.FTVAR_POSTCHECKFRM.value != 'sent') { var msglen = document.messagepostform.FTVAR_MESSAGETEXTFRM.value if (msglen.length > 64000 ) { alert('The message cannot exceed 64000 characters'); return false; } document.messagepostform.FTVAR_POSTCHECKFRM.value = 'sent' return true; } else { alert('This message was already submitted, duplicate posting is not allowed'); return false; } } function changestyleover(element){ var el = document.getElementById(element); el.className='ftmenurollover'; el.style.cursor='hand'; } function changestyleout(element){ var el = document.getElementById(element); el.className='ftmenutd'; } function popmod() { if((document.getElementById('toolslayer').style.visibility) == "hidden") { document.getElementById('toolslayer').style.visibility="visible"; } else { document.getElementById('toolslayer').style.visibility="hidden"; } } function modtoolbox(strlocation, selectobj) { if(ftgetpermission('Are you sure you want to perform this operation?')) { if(strlocation.indexOf("banning.cfm") != -1) { winopen('banning.cfm','ftbanning','400','295'); } else { location.href=strlocation; } selectobj.selectedIndex =1; } } function copycode(clipdata){ window.clipboardData.setData("Text", clipdata); } function getapprovepermission(cid,tid,mid) { if(window.confirm('Are you sure that you want to approve this message?')) { location.href='messageview.cfm?catid='+cid+'&threadid='+tid+'&messid='+mid+'&ApproveMess=y'; } } function verify() { if (document.profileform.FTVAR_PASSWORDFRM.value != document.profileform.FTVAR_VERIFICATIONFRM.value) { alert('Sorry your passwords do not match, please make sure both passwords match for verification \n'); return false; } return true; } function verifyemail() { if (document.profileform.FTVAR_EMAILADDRESSFRM.value != document.profileform.FTVAR_EMAILADDRESSVERFRM.value) { alert('Sorry your e-mail addresses do not match, please make sure both e-mail addresses match for verification \n'); return false; } return true; } function verifyboth() { if (document.profileform.FTVAR_PASSWORDFRM.value != document.profileform.FTVAR_VERIFICATIONFRM.value) { alert('Sorry your passwords do not match, please make sure both passwords match for verification \n'); return false; } if (document.profileform.FTVAR_EMAILADDRESSFRM.value != document.profileform.FTVAR_EMAILADDRESSVERFRM.value) { alert('Sorry your e-mail addresses do not match, please make sure both e-mail addresses match for verification \n'); return false; } return true; } function viewauthoricon(url,vara,x,y) { var options = "toolbar=no,scrollbars=no,resizable=ye
edit:
I think its happening every time I use the qoute button