Skip to main content

HTCs and Service Pack 2

By Simon Willison



😳 Ever felt a little embarassed sharing your JavaScript? Let's fix it.

I haven’t played with XP Service Pack 2 yet due to not having ready access to a Windows smachine that I can upgrade, but it seems that one of the security changes made to IE has greatly increased the importance of serving up the correct Content-Type header. Aldo Hoebon writes about this in HTC components in XP Service Pack 2, and describes how the wrong Content-Type for a proprietary IE HTC file (as seen in the alpha-transparent PNG fix for that browser) can cause the HTC file to have no effect.

New books out now!

💁‍♀️ Fun Fact: Python was ranked #2 on a recent highest paid coders list. *

🤓 Ok. When did a code editor from Microsoft become kinda cool!?