Override Method Call

This demonstrates using Partytown to replace a alert() call with a dialog element. Note: This only works with a patched version of Partytown since normally the DOM is not exposed to hooks.

Disable Partytown