Wednesday, June 5, 2024
 Popular · Latest · Hot · Upcoming
29
rated 0 times [  31] [ 2]  / answers: 1 / hits: 30477  / 13 Years ago, wed, november 16, 2011, 12:00:00

Why does IE restrict JavaScript files from working when we open a local html file? The message says:



To help protect your security, Internet explorer has restricted this web page from running scripts or ActiveX controls that could access your computer. Click here for the options



Can anyone tell me how get get rid of this?


More From » jquery

 Answers
7

Check out http://msdn.microsoft.com/en-us/library/ms537628(v=vs.85).aspx



If you want to run in the Internet zone add this to your HTML source:



<!-- saved from url=(0014)about:internet -->


If you want to run in the Intranet zone add this to your HTML source:



<!-- saved from url=(0016)http://localhost -->


Either will stop the message from displaying and allow JavaScript to execute.



This will also allow the file to open on other PC's without having to change Internet Explorer options.


[#89095] Tuesday, November 15, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
yesseniadajab

Total Points: 258
Total Questions: 101
Total Answers: 127

Location: Mexico
Member since Mon, Sep 12, 2022
2 Years ago
yesseniadajab questions
Tue, Aug 3, 21, 00:00, 3 Years ago
Fri, Jan 15, 21, 00:00, 3 Years ago
Thu, Dec 10, 20, 00:00, 4 Years ago
;