I'm sure I must have said this before, maybe to your alter ego, but if you use Win32::IE::Mechanize instead of WWW::Mechanize, the former is based on the MSIE core and it will process Javascript before handling the result to you. The disadvantage is that it'll only work on Windows. It's not an exact plugin replacement, either, due to the differences in their cores. So it'll require some manual tweaks to make it work.
Comment on Re: editing an article that also uses javascript with mechanize
I'm sure I must have said this before, maybe to your alter ego, but if you use Win32::IE::Mechanize instead of WWW::Mechanize, the former is based on the MSIE core and it will process Javascript before handling the result to you. The disadvantage is that it'll only work on Windows.