supposing you had multiple scripts running, many remote hosted and you cant remember how many or which ones used a body onload tag.
Could you use a wildcard to cover them? for example, is something like this possible?
<body onload="popWindow();somefunction();"*"(); "*"();">
:?: