Wednesday, October 1, 2008

Disable Information Bar on web files on your computer

Say you have a HTML file on your PC and don’t want the Information Bar warning you about “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…”.

image

One example of this is the HTML report file JTB FlexReport produces and that contains JavaScript to allow to expand and collapse as well as hide and show details.

If you are a programmer you might also run into this when working with HTML files.

Solution

If you know the local web page on your local computer is safe you can solve this in different ways.

1. Click on the Information Bar and select “Allow Blocked Content…”. But this is just a temporary solution.

2. Place the HTML file on a Web server and access it with an URL.

3. Make the page run in the Internet Zone. Details here.
Either of these works to add after <html>:
<!-- saved from url=(0014)about:internet -->
<!-- saved from url=(0022)http://www.domain.com/ –>
I will add this to JTB FlexReport’s HTML file in the coming update.

4. Make the change in IE using Internet Options>Advanced under the Security sub-section by selecting “Allow active content to run in file on My Computer”

allow_active_content

No comments:

Post a Comment

Subscribe to the comments feed

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner

Contact Us | About JTB World | Subscribe to this blog
JTB World's website | Website General Terms of Use | Privacy Policy
^ Top of page

© 2004- JTB World. All rights reserved.