Important notice

Please note that this blog is discontinued here. All the posts are also coppied to my new blog at
Important: Due to large amount of comment spam further commenting has been disabled here. If you wish to send me a comment, plase look up the same post on my new blog and leave comment there. Thanks!


Active content blocked when having page offline

Another issue when making offline web pages is the Windows XP service pack 2 issue, which blocks active content like javascript or flash animations.

When viewing offline page that contains flash animation or JavaScript with Internet explorer you can run into a problem. A yellow security bar or a notification about blocking active content.

Microsoft has an official workaround for this, named "Mark of the Web comment". Here's also description of it in Adobe's site.

To make it short. If you don't want your users to be troubled with this, just add the following to the top of your html code:

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


<!-- saved from url=(0022)http://www. yoururl .com -->

(the number in brackets represents the length of your URL - including http://)

This tells Internet Explorer to treat the page like Internet zone for which usually has the permissions for active content.


Anonymous said...

I tried this out and it works but for some reason one of the lines of code shows up in the browser, and then Dreamweaver crashes. No I cannot open that file because it causes Dreamweaver to crash every time. I played around with placing the code in different positons but no luck. Any help?

Boris Gomiunik said...


You just need one of the two lines of code above.

Is it showing up in all of the browsers or just in some specific?

Anonymous said...

Thank you very much! :)

I couldn't understand why this was triggering a warning in IE7 when used offline...