2011. 10. 10.

Removing javascript security warning of local html :MOTW(mark of the web)

When loading local html file, if  it has a script   IE shows the security warning bar( yellow bar).
It can be fixed by changing configuration.  but  I found another solution which  is provide by MS.

Mark of the Web  (MOTW)  :
 original link http://msdn.microsoft.com/en-us/library/ms537628(v=vs.85).aspx

Simply.   Just add  below line  at the top of html file.

< !-- saved from url=(0013)http://a.b.c -->

** 0013 means number of characters of follow url.

--- check position --

<!doctype html>
<!-- saved from url=(0013)http://a.b.c -->
    <title>A Mark of the Web Example.</title>

댓글 없음:

댓글 쓰기