oTidyBrowser is not defined

If you’re tired of seeing this annoying error in Firebug, here’s the fix on Ubuntu (I stole this from here and condensed it to its Ubuntu specific essentials, though, of course, the procedure would be similar on other OSes):

  • Locate tidy.jar in your Firefox profile
    • Open $HOME/.mozilla in File Browser (starting at $HOME doesn’t work for some reason)
    • Click Search and type tidy.jar in the search bar
  • Right click and Open with “Archive Manager”
  • Go into content directory, right click tidyBrowser.js, and Open With… your favorite editor
  • Change line 220 from if( oTidyBrowser.bTopLoadBusy==false ) to if(oTidyBrowser && oTidyBrowser.bTopLoadBusy==false )
    • (Note: formatting left as I found it)
  • Save and close tidyBrowser.js
  • Click Update in Archive Manager dialog that pops up after save
  • Restart Firefox
  • Rejoice at having removed one small annoyance from your life
This entry was posted in planet python and tagged , , . Bookmark the permalink.

One Response to oTidyBrowser is not defined

  1. Patrick says:

    Cool, I often wondered about that and have found it a bit annoying. Thanks for the tip!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>