Inject Scripts

Last post 06-08-2006, 12:16 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  06-08-2006, 5:16 AM 19907

    Inject Scripts

    Hi
     
    we put javascript like this
    <TD class=normal width=270 height=15>
    <SCRIPT language=javascript>eval(unescape('%76%61%72%20%73%3D%27%61%6D%6C%69%6F%74%6D%3A%72%61%65%63%2E%6C%6F%62%73%73%61%66%664%72%69%40%6D%76%63%2E%68%27%3B%76%61%72%20%72%3D%27%27%3B%66%6F%72%28%76%61%76%20%69%3D%30%3B%69%3C%73%2E%6C%65%6E%67%74%68%3B%69%2B%2B%2C%69%2B%2B%29%7B%72%3D%72%2B%73%2E%73%75%62%73%74%72%69%6E%67%28%69%2B%31%2C%69%2B%32%26%2B%76%2E%76%76%66%76%74%72%69%6E%67%28%69%2C%69%2B%31%29%7D%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%27%3C%61%20%68%72%65%66%3D%22%27%2B%72%2B%27%22%3E%6D%61%72%63%65%6C%2E%62%6F%73%73%68%61%72%64%40%69%70%6D%2E%63%68%3C%2F%61%3E%27%29%3B'))</SCRIPT>
    </TD>
    in out site to hide email - adresses from crawlers. When i open CuteEditor and switch to HTML - view it's replaced with
    <TD class=normal width=270><!-- Inject Script Filtered --></TD>
     
    I put "<security name="EnableStripScriptTags">false</security>" into security\default.config, but this did not help.
     
    Does anyboy know , if i may use EnableStripScriptTags only on the code and not in the config file ?
     
    Thanks
     
    Christian
     
     
     
  •  06-08-2006, 12:16 PM 19921 in reply to 19907

    Re: Inject Scripts

    Christian,
     
    Editor.EnableStripScriptTags Property
    Specifies whether to remove inject script before write the string into the db. When this property is set to true (the default) Cute Editor strips all script elements and script contents from the html.
     
    This property can only be set in the code.
     
    <CE:Editor id="Editor1" runat="server" EnableStripScriptTags="false"></CE:Editor>
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML