Doesn't work in Chrome because Chrome doesn't let scripts close tabs.
It works in Firefox with Tampermonkey, provided you tell Firefox you want scripts to be allowed to close tabs, which you do like this:
Go to the url about:config
Set to true
Flag CryptalEquine/Howrse Close Button
Are you sure you want to flag this script for potential inspection by a Moderator?
Donate for the site OpenUserJS
Are you sure you want to go to an external site to donate a monetary value?
WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.