When I test my page with IE

when I open my site with IE

IE restricted this webpage from running scripts or ActiveX controls
Allow blocked content

appear to me
if I click on Allow blocked content then everything work very well
my question is : how can I let the page work very well without asking me this question ??? and why this statment appear to me
Thank you

Hi,

This should only occur when you are testing things locally.

If it annoys you too much , you can configure IE to always allow blocked content, like so:

From Internet Explorer, select the Tools menu, then the Options.
In the Internet Options dialog, select the Advanced tab.
Scroll down until you see the Security options.
Enable the checkbox “Allow active content to run in files on My Computer”.
Close the dialog, and quit Internet Explorer.
The changes will take effect the next time you start IE.

HTH

Thank you