Appends a copyright line of content to plain text and HTML files:

if (document.hasPermission('Write'))
{
   if (document.mimetype == 'text/plain')
   {
      document.content += '\r\n\r\nCopyright (C) 2006';
   }
   else if (document.mimetype == 'text/html')
   {
      document.content += '

Copyright © 2006';
   }
}
文档更新时间: 2020-02-16 15:46   作者:凌云文档