Microsoft’s "Mark of the Web"

by ellis on Tuesday, 26 July, 2005 · 1 comment

in Uncategorized

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

I just spotted this tip on Char James Tanny’s “Helpstuff” Web site.

If you develop a Web site or an HTML based Help file, and you add *any* JavaScript you get a warning message when you view the site in Internet Explorer regarding “Active Content”.

The warning implies you should change your security zone settings. However, Microsoft has provided a way to disable this message for those pages that you know are safe – The “Mark of the Web”(MOTW).

MOTW is a comment added to the head section that indicates from which Web site the content belongs.The MOTW must follow a specific format, including the number of characters in the string. If this is for a new site, or if the domain is not known, you can use “about:internet” as a valid URL.

See http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/motw.asp for more information.

{ 1 comment… read it below or add one }

1 Mark Southee August 2, 2005 at 1:23 pm

Didn’t know about this and I’m developing a site for someone with plenty of javascript. This will prevent a lot of questions being asked.

Leave a Comment

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Previous post:

Next post: