When we run some web page there is a popup with the warning "To help protect your security Internet explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer.Click here for options...."
Why do we get such a warning?
This happens when IE has no idea about the security restrictions of the web page's host. For example, when we try to load this page from our hard disk, the error may pop up.
We can remove the error and can view the flash animations correctly. For that you have use the one code that is
Add the following sample code in a <script>
<!-- saved from url=(0014)about:internet -->
The above example is called Mark of the Web. This is a special tag, in the form of a comment, that tells Internet Explorer (of at least version 4.0) about the security zone of the page. Generally, "about:internet" is used in the absence of a particular domain.
For more details, visit http://msdn.microsoft.com/en-us/library/ms537628(VS.85).aspx
|
| Author: Koshish 12 Aug 2008 | Member Level: Silver Points : 1 |
This script code is really good. is there any way in javascript to show any custom message in this kind of popup. Like "Download this file" when user clicks on this link on popup then that file should be downloaded
|
| Author: Kadirvelu SivaKumar 06 Dec 2008 | Member Level: Bronze Points : 1 |
Thanks for this code. I always get this error message when I try to open up the flash file. I will use it hereafter.
|