source: projects/web/trunk/js/download.js @ 1284

Revision 1284, 246 bytes checked in by daisuke, 14 years ago (diff)

Initial import

Line 
1var func = function () {
2        var index = document.URL.indexOf("?", 0);
3        if(index >= 0)
4        {
5                window.location = document.URL.substring(index+1,document.URL.length);
6        }
7}
8
9
10if(window.addEventListener)
11{
12        window.addEventListener('load', func, false);
13}
Note: See TracBrowser for help on using the repository browser.