The problem with that setup is that I now have client browsers complaining about site security. Especially users with old Explorers, they have to agree every click that they're fine with site security.
From what I see, my only option to prevent this is to patch the MessagesWebScript.java?
Now, I know that you want to track the usage, but this is creating problems on https links. So I suggest that in future versions this be created dynamically so that the site security is still ok.
Just to update this post, I ended up downloading alfresco revision for 3.4.a version. I commented this blank call and recompiled this class, well the whole jar, from the beginning. So that's one of the issues solved.