tags:

views:

42

answers:

3

When I am opening my html page in IE 6 it is giving a info bar on the page , the error is "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...." and my page is blank.When I am allowing block content the page is coming. I have searched in google and find a solution.The solution is need to add in the page.link of the page.

But still it is showing the info bar.Please help.

A: 

Go to tools/internet options.

and in the security tab click on the trusted sites and then click on sites and add your website there.

rahim asgari
I can not change the security setting of all the system where it will run.I need to by pass this with the coding.
Suvonkar
It is a browser's security feature. and you cannot disable it with coding.
rahim asgari
A: 

What ActiveX component are you using? is it media player or something? if it can be replaced by other plugins, (flash in case of media files) the security bar wont pop up. More details are needed about what the page contains. Else Rahim's answer is correct.

Ravindra Sane
I am using canvas tag.
Suvonkar
So its Google Chrome frame plugin or something on those lines? If its just the canvas plugin from the HTML5 spec, I searched and found this JS : http://code.google.com/p/explorercanvas/wiki/Instructions which might help. Have a look.
Ravindra Sane
A: 

have you included the html5 shiv?

<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt;
<![endif]-->

Needed for IE.

Rocket Ronnie