WP DoNotTrack
[resolved] Bug in firefox (2 posts)

  1. dhilditch
    Posted 2 years ago #

    There is a bug in your code in this file:

    SyntaxError: invalid increment operand
    Line 1

    The offending code seems to be caused by your minifier? (possibly)

    The code is:


    Javascript interprets this is trying to do a ++ operator on the string which is obviously impossible.

    It should read:

    (this.id="ui-id-"+ ++n)

    As I believe you are meaning the first plus to APPEND and the next two pluses to increment the n variable.

    This broke my plugin in firefox since it meant my functions didn't get defined - I have advised my client to remove your plugin until you fix it.


  2. Frank Goossens
    Plugin Author

    Posted 2 years ago #

    Afternoon dhilditch;
    Thanks for the feedback. This is very weird, as there is absolutely no


    in donottrack-min.js as you can see in http://plugins.svn.wordpress.org/wp-donottrack/tags/0.8.3/donottrack-min.js.

    any idea how wp-donottrack is interfering here?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP DoNotTrack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic