WordPress.org

Ready to get started?Download WordPress

Forums

Ad Squares Widget
AdSquares is modifying code (1 post)

  1. ryansales
    Member
    Posted 2 years ago #

    I am entering in a referral link. Here is the code:

    <script type="text/javascript">
      var zfBaseURL=(("https:"==document.location.protocol)
                     ? "https://woothemes.zferral.com/"
                     : "http://woothemes.zferral.com/");
      document.write(unescape("%3Cscript src=" + zfBaseURL
      + " type=\"text/javascript\"%3E%3C/script%3E"));
    </script>

    It is being replaced with:

    <script type="text/javascript">
      var zfBaseURL=(("https:"==document.location.protocol)
                     ? "https://woothemes.zferral.com/mjs/40/34642"
                     : "http://woothemes.zferral.com/mjs/40/34642");
      document.write(unescape("%3Cscript src=" + zfBaseURL
      + " type="text/javascript"%3E%3C/script%3E"));
    </script>

    Notice it is stripping a \ before the "text/javascript.....on the bottom.

    The code in the original snippit validates fine. The code that AdSquares changes it to does not validate.

    http://wordpress.org/extend/plugins/ad-squares-widget/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.