/[LeafOK_CVS]/fenglin/js/require_ssl.js
ViewVC logotype

Contents of /fenglin/js/require_ssl.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Sat Jun 12 05:45:52 2004 UTC (21 years, 9 months ago) by sysadm
Branch: MAIN
CVS Tags: fenglin_1-0-0-0_MIL
Content type: text/javascript
Add SSL support

1 if (document.location.protocol == "http:")
2 {
3 url = document.location.href.replace("http://","https://");
4 url = url.replace(":80","443");
5 document.location.href = url;
6 }

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1