I was playing with IETester, which lets you open Internet Explorer tabs using rendering engines from IE 5.5 up to IE 8 beta 1 for testing compatibility, and noticed for the first time that my blog was throwing a Javascript error only in IE.
Being the pain in the ass IE is, of course the line number it gives isn’t really valid. I looked and looked and couldn’t find the problem. As a last ditch effort, using the IE Developer Toolbar, I hit the menu option to validate the page. Thanks to the W3C Validator, I found that there were some duplicate ID attributes on elements.
After checking out the lines the validator referenced, I found that the Google Analytics plugin for WordPress was improperly tearing apart href attributes for links created by the Footnotes plugin I use, causing it to include long strings of HTML in the onclick attribute for tracking outgoing links1.
Thankfully, the Analytics plugin has an option to turn off outbound link tracking. I’ll miss those stats, but it’s not like I pay all that much attention to them (or care) anyway.
In the end, I don’t really have anything to test with IETester, it was just a fun toy for a few minutes. It also helped me notice a problem I probably wouldn’t have found otherwise, so in the end it was time well spent.
- Rather than just the link the user was headed for, as it should – and does for regular links. [↩]


Sidebar Modules Kick Widget Ass
I was complaining about K2 in #wordpress earlier, when Shorty told me to try out the self-contained plugin that gives you the same functionality as K2 Modules.
I jumped at the idea, since anyone who’s ever used K2 Modules knows that they kick sooo much ass that Wordpress Widgets will never touch. A quick Google got me Nybble Labs’ Sidebar Modules. There are no instructions, so it was a bit of a gamble getting things working. Happily, I found that it wasn’t tough at all.
Sidebar Modules use the same hooks that the Automattic Widgets do, so there are no additional changes that need to be made to your theme for them to work. Just disable Automattic Widgets, enable Sidebar Modules, and you’re good to go. It even supports the custom widgets plugin I wrote for an enhanced search form. Now how cool is that?
Just one more plugin to add to the list of amazingly useful Wordpress addons!
Tags:
Post Meta
Atom