Quote from Wikipedia:
JavaScript, allow programs to create new code at run-time and execute it using an eval function, but do not allow existing code to be mutated.
Does that include the JS code in event handler attributes and in hrefs with the javascript: prefix? Can you change these attributes at run-time with JS code or not?
Can I create a new <script> element at run time? If I define a new version of a function in there, what happens? Will the browser prefer my new function to the old one?
If I can’t change an event handler attribute, can I add a new event handler attribute which takes precedence over the old? W.g. an onmouseover where the old one is onclick? And change the parts in the call somewhat?
 
     
     
    