Title: Bug in firefox
Last modified: August 21, 2016

---

# Bug in firefox

 *  Resolved [Dave Hilditch](https://wordpress.org/support/users/dhilditch/)
 * (@dhilditch)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/bug-in-firefox/)
 * There is a bug in your code in this file:
 * SyntaxError: invalid increment operand
    [http://example.com/wp-content/plugins/wp-donottrack/donottrack-min.js?dntver=0.8.3](http://example.com/wp-content/plugins/wp-donottrack/donottrack-min.js?dntver=0.8.3)
   Line 1
 * The offending code seems to be caused by your minifier? (possibly)
 * The code is:
 * (this.id=”ui-id-“+++n)
 * 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.
 * [http://wordpress.org/extend/plugins/wp-donottrack/](http://wordpress.org/extend/plugins/wp-donottrack/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/bug-in-firefox/#post-3921124)
 * Afternoon dhilditch;
    Thanks for the feedback. This is very weird, as there is
   absolutely no
 * `(this.id="ui-id-"+++n)`
 * in donottrack-min.js as you can see in [http://plugins.svn.wordpress.org/wp-donottrack/tags/0.8.3/donottrack-min.js](http://plugins.svn.wordpress.org/wp-donottrack/tags/0.8.3/donottrack-min.js).
 * any idea how wp-donottrack is interfering here?
 * frank

Viewing 1 replies (of 1 total)

The topic ‘Bug in firefox’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-donottrack.svg)
 * [WP DoNotTrack](https://wordpress.org/plugins/wp-donottrack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-donottrack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-donottrack/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-donottrack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-donottrack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-donottrack/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/bug-in-firefox/#post-3921124)
 * Status: resolved