The following jscript code was executed during the installation of Photoshop 2025:
$("#continueButton").attr("onclick", "continueBtnClicked('installOptionsContinueClicked'); return false;");
I'm guessing that ends up calling `Element.setAttribute()`. For legacy (pre-IE9) modes we support that by intercepting `setAttribute` and friends themself. Theoretically we could do that for IE9+ too, but I like your solution more, as it's more flexible. CC @insn.
Please add a test case to `events.js`.