Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I open an XML file in IE (I know, right?), I get the yellow bar security error saying scripts are blocked. Allowing the script to run makes it so you can collapse tags. Seems a bit superfluous...

share|improve this question
up vote 3 down vote accepted

You will only see this for local files. It also applies to any other JavaScript, such as used in local HTML files.

Apparently, when allowing JavaScript for local files, one is granting JavaScript access to the whole local file system. (Which is not the case for JavaScript that is executed for some website.) Hence: IE will ask you if you're sure.

share|improve this answer
Fair enough. Still can't shake the feeling there's room for improvement though (e.g. directly implementing this feature in IE or having some sort of trusted locations for scripts) – Cogwheel Oct 21 '09 at 20:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.