Home > Posts > Fix: To help protect your security, Internet Explorer has restricted this webpage from running scripts …

Fix: To help protect your security, Internet Explorer has restricted this webpage from running scripts …

While creating an scripted html page locally and previewing it, if using IE7 you’ll get the annoying “”To help protect your security, Internet Explorer has restricted this webpage from running scripts …” message all the time, needing to right click it every time and select to allow scripts (without option to remember it for that specific local page/file).

An easy solution is to add the following line (as is) to the first line (or the second one if you have a <!DOCTYPE …> at the 1st line) of your HTML page:

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

for more information see:
http://msdn2.microsoft.com/en-us/library/ms537628.aspxWarning: if you put the same HTML page online on the web you must first remove this special HTML comment, else any Javascript code the page uses won’t work when someone visits the page from their web browser.
Advertisements
Categories: Posts Tags:
  1. 2012/03/14 at 23:55

    seems WordPress was showing — as a long dash, fixing it (wrapped in code and /code HTML tags)

  2. Lubomir
    2013/04/15 at 11:15

    Super thank you very much.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: