You only need to:
const old = getEventListeners(window).mousemove?.[0]?.listener;
if (old) window.removeEventListener("mousemove", old);
then
btn.disabled = false;
You can then click the button and you will be redirected to what seems an empty page but the flag will be printed in console or in source code.