secure.htm


License

This document is Free, (in both the "beer" and "speech" sense). The original can be found here: http://www.jfitz.com.

You may use, distribute, or modify this document, any way you see fit, commercially or otherwise, provided this License, and the following Copyright statement are reproduced unaltered at the top of the redistributed or modified file. This document is supplied WITHOUT ANY WARRANTY WHATSOEVER. Use it at your own risk.

Copyright (c) John Fitzgibbon 2002. All rights reserved.


Purpose

When invoked from a context menu in Internet Explorer, this document copies the top level domain of the current URL to the clipboard. All but the last two components of the name are replaced by an asterisk. For example: "http://shopping.yahoo.com/shopping/horribly_dangerous_shopping_script.asp" would be reduced to "http://*.yahoo.com". This clip is useful for quickly adding a top level domain to Internet Explorer's list of secure sites. I find it useful for shopping sites that use dangerous scripting that I have disabled in the "Internet Zone", but allowed in the "Secure Zone". I invoke the script, paste the top level domain into the "Secure Zone" list, do my shopping, then, (optionally), remove the site from the Secure Zone.


Installation