In Feburary 2016 26,
Malicious exploits using JavaScript often pretend to be in the Local Zone to gain additional privileges. Microsoft's solution to this issue was to make the Local Zone security more restrictive than the Web, blocking JavaScript, Flash and other active content on pages viewed on the local file system. Blocking Javascripts and other active content becomes an issue for Web developers who test their Web pages on their desktop computers before uploading updated pages to their websites.
Mark of the Web
One workaround to this issue is to add 'The Mark of the Web' to your Web page to trick Internet Explorer into treating the local file as if it were loaded from a different zone. 'The Mark of the Web' is a specially formatted comment Internet Explorer adds to Web pages when they are saved from the Web, and grants the local copy the same privileges as the source website.Add the 'Mark of the Web' to the top of your Web page (below the DOCTYPE declaration if one is present) For example:
Change the Web address to the address of your website, and the number '0026' to the number of characters in your Web address, including the http and all punctuation.If you are using Adobe Dreamweaver, it features a command to automatically add 'The Mark of the Web' to your Web page. Select 'Insert Mark of the Web' in the Commands menu. The mark can be removed by selecting 'Remove Mark of the Web' in the Commands menu.
Other Testing Methods
'The Mark of the Web' is the simplest and easiest way to stop blocking JavaScripts in Internet Explorer. However, many Web developers may find this method aesthetically displeasing, and it becomes cumbersome when managing large websites. Another option is to test your Web pages on a Web server. You can install a Web server, such as XAMPP, on your desktop computer, or create a test folder under your website to upload and test Web pages. Check with your hosting provider or systems administrator to see if they can provide a test website for you.
In Feburary 2016 26,