function addLoadEvent(func) { var oldonload = window.onload; if(typeof window.onload != 'function') { window.onload = func; }else{ window.onload = function() { oldonload(); func(); } } } function A(){} function B(){} function C(){} addLoadEvent(A); addLoadEvent(B); addLoadEvent(C);
-
近期文章
分類
其它
彙整
近期迴響