iantearle.com

Safari Developer Anyone?

For those developers for kick ass web sites, and those who have missed this one. I know I did, Safari interprets Javascript as application/javascript, so you may find yourselves with some errors for resources. But do not change your html just yet, let me explain.

If you have the develop toolbar switched on then you may see a warning like this every so often:

Resource interpreted as other but transferred with MIME type application/javascript

It is because Safari interprets javascript as the approved MIME type of ‘application/javascript’, where as you may be using text/javascript. Unfortunately if you wade in and change your html references to you script files, then you will run into problems with IE, internet Explorer doesn’t understand the IANA approved usage and will ignore .js files.

Thus are the joys of building for every browser today.

Posted On: Friday, November 27th, 2009 @ 6:14 pm by Ian Tearle


0 Comments

There are no comments on this entry. You should add one below.

Leave a comment

Be kind

If you would like to discuss anything about this post, please be polite and add your comments below.


 
 

Additionally

No HTML is allowed. All links, and new lines will be automagically converted to HTML for you.
Notice to spammers, all links will be sanitized with rel="nofollow".


Contact Me

Get In Touch

If you would like to discuss anything about your next project please drop me a line.


 

Prices

Projects start at £99.00 per month
We normally book 2–3 months in advance.

Additionally

No matter how small your project is, or if the prices above scare you, please do get in touch, I shall always listen and will advise freely alternative ideas or solutions. If you are a charity, let's talk!


Find Me On