How to bypass IE warning messages when accessing an html file from local file system

I usually code my html/javascript in a simple text editor like notepad++. I usually open it in IE ( Internet Explorer) or FF to test it. Firefox doesn't have any problems in opening the local files. But IE doesnt belive my local files. Everytime I open a local html file using IE I will get a warning.
ie_warning_msg1.jpg
I need to unblock it for IE to execute javascript. I found a simple solution to fix this when working offline. Add the this line to top of your html file
<!-- saved from url=(0013)about:internet -->This line will allow IE bypass the security warning and execute the javascript.
For more information on this go to microsoft technet.

14 Responses

  1. Prithvi says:

    Nice tip! This means shorter covering emails to clients while sending across DHTML screen prototypes…

  2. BillyG says:

    Now that solves a nagging problem I’ve never spent the time to remedy, thanks so much!

  3. Jonathan says:

    Wouldn’t it take longer to add this line into your code and then remove it than it would take to just click “Allow Blocked Content” in ie?

    I’d like to find a security setting in the browser itself that would allow me to never display that message… and that’s it.

  4. Thejesh GN says:

    @Jonathan: I am not sure you want to remove it if we are creating only wireframes.

    If we want to then have simple macro to add/remove this line from the top of all html files in a folder. A simple wsscript would do this job.

  5. Sathish says:

    Hi,
    I am using IE 7.It seems that “” doesnt work in IE 7.I am getting the warning msg .Any help thanks

  6. Sathish says:

    Hi,
    I am using IE 7.It seems that “saved from url=(0013)about:internet ” doesnt work in IE 7.I am getting the warning msg .Any help thanks

  7. Thejesh GN says:

    I have not tried in IE7.1. Will let you know once I try.

  8. geek says:

    very useful tip. works in IE8.

  9. bob says:

    awesome!!

  10. pen.io says:

    WOW just what I was searching for. Came here by searching
    for cheap seo company toronto

    my webpage; toronto web design (pen.io)

  1. October 3, 2007

    […] How to bypass IE warning messages when accessing an html file from local file system […]

  2. October 3, 2007

    […] сегодня я наткнулся на интереснейшую заметку, в которой говорилось, что если в начале файла […]

  3. October 4, 2007

    […] How to bypass IE warning messages when accessing a local html file. just add , worked perfectly! Don’t forget to remove it, although it is only a comment, so big harm really… (tags: IE WebDev) […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.