Thejesh GN

A Blog, A Website and A container for all my views with excerpts from technology, travel, films, india, photography, kannada, friends and other interests. I am Thejesh GN. Friends call me Thej

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.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

13 Responses to “How to bypass IE warning messages when accessing an html file from local file system”

  1. Prithvi says:

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

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

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

  4. BillyG says:

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

  5. [...] 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) [...]

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

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

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

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

  10. Thejesh GN says:

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

  11. geek says:

    very useful tip. works in IE8.

  12. bob says:

    awesome!!

Leave a Reply

Get in touch