Home » Questions » Computers [ Ask a new question ]

Why does IE block its own script for collapsing XML tags?

Why does IE block its own script for collapsing XML tags?

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...

Asked by: Guest | Views: 243
Total answers/comments: 1
Guest [Entry]

"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."