<script>
(() => {
window.onresize = () => {};
const add = window.addEventListener.bind(window),
dispatch = window.dispatchEvent.bind(window);
window.addEventListener = (type, listener, options) =>
type === "resize" ? undefined : add(type, listener, options);
window.dispatchEvent = event =>
event.type === "resize" ? false : dispatch(event);
})();
</script>