You notice how this plug-in reacts to not filling in all the required fields in a comment form? Seems to inject a little to much back on the page, right? On this site, it even changed the layout from fluid to fixed width because it loaded install.css as well.
Here’s the fix for that:
Open /ajax-comments-wpmuified/ajax-comments/ajax-comments.js
change:
msg = r.substring(r.indexOf('</h1>') + 5, r.indexOf('</body>'));
to
msg = r.substring(r.indexOf('<p>') + 3, r.indexOf('</p>'));
The end.
I will keep this very short. If you’re getting the “Operation Aborted” message on your WordPress site, it may be related to a Lightbox version with some old world coding.
Just make sure you’re using Lightbox by Rupert Morris.
The offending code in the “bad” version started with:
objBody.appendChild...
This was in the initialize function of the class that loaded along with the script in load-time. In other words, it was attempting to add child nodes to the <body> while the body tag was still being loaded (and had not yet been closed). IE7 apparently really doesn’t like this.