Changing Javascript on an HTML page out of my control [duplicate]
问题 This question already has answers here : Stop execution of Javascript function (client side) or tweak it (4 answers) Closed 4 years ago . This question was migrated from Super User because it can be answered on Stack Overflow. Migrated 7 years ago . I'm using an HTML page out of my control. It defines a Javascript function in an inline <script> tag and calls it in <body onload="..."> : <html> ... <body onload="init()"> <script type="text/javascript" language="javascript"> function init() { ..