Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Calling Mint js in footer

In 2007 Shaun Inman stated that:

Delaying the Mint JavaScript include will break pages in IE PC because you cannot call document.write() after the page is done loading without overwriting the entire page.

Is this still true? Calling Mint in the footer certainly doesn’t break pages in any of Firefox 3.6, Chrome 4 and Safari 4 on a Mac.

Shaun Inman
Mint/Pepper Developer
Posted on Feb 24, '10 at 11:35 am

Yes, its still true. The particular problem browser may have seen updates since but that doesn’t mean that all previous versions are completely out of service.

Thanks for this reply Shaun.

As I’m generating all my pages dynamically, I’d like to consider putting Mint into the footer for some browsers and into the header for those browsers that require it. That should allow me to improve performance for those people with the latest browsers.

Do you have any thoughts on this before I start?

You must be logged in to reply. Login above or create an account