As a javascript developer using onload often you will find that other script authors too love to use onload. JavaScriptの開発者としてのonload頻繁に使用して他のスクリプトの作者であることに気づいても愛のonloadを使用しています。 Unfortunately onload accepts a function name and your reassigning will prevent others from using onload.残念ながらのonloadには、関数名として再使用して、他のユーザーのonloadを防ぐ。 Here is a script which allows you to use onload even when others have used it and without breaking their script.ここで使用するには、スクリプトを使用して他人が使用されるときのonloadもなく破壊し、そのスクリプトです。

The key idea is that you should be able to stack your function(s) above / below existing function call.アイデアの鍵は、スタックしてできるようにする必要があります。関数(劇団)の上/下に、既存の関数呼び出しです。 Let’s look at the sample code below:このサンプルコードを見てみましょうください:

I think I have well commented the code to make the script self-explanatory, but feel to ask questions.と思うのコードが良いコメントが自明のスクリプトを作るが、感じるに質問します。 The code has been tested on Firefox, Internet Explorer and Opera. Firefox用のコードでテストされてきた、インターネットエクスプローラやオペラです。