Sep
14
Filed Under (Uncategorized) by Thejesh GN on 14-09-2007

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.



Comments:
11 Comments posted on "How to bypass IE warning messages when accessing an html file from local file system"
Prithvi on September 14th, 2007 at 6:37 pm

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


Thejesh GN on September 15th, 2007 at 5:45 pm

yup


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


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


BillyG on October 3rd, 2007 at 7:53 pm

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


All in a days work… on October 4th, 2007 at 6:53 pm

[…] 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) […]


Jonathan on October 12th, 2007 at 2:41 am

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.


Thejesh GN on October 12th, 2007 at 1:18 pm

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


Sathish on January 25th, 2008 at 12:45 pm

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


Sathish on January 25th, 2008 at 12:46 pm

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


Thejesh GN on January 25th, 2008 at 1:35 pm

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


Post a comment
Name: 
Email: 
URL: 
Comments: