I'm developing a browser extension that lets users mark answers as favorites. The default Stack Exchange behavior when the favorite button is clicked messes everything up, though. Even if I set my own event listener to replace the default behavior, it seems to automatically undo my code and do the default behavior. [![enter image description here][1]][1] How can I "turn off" default Stack Exchange sit behaviors? [1]: https://i.sstatic.net/5naXl.png