Converts curseforge.com links to legacy.curseforge.com links
Redirects all links pointing to the modern Curseforge interface to legacy.curseforge.com. This script works at page load and also changes every href on the page to point to the old UI.
I made it in order to not have to click the button and navigate to the current page again all the time.
Adapted from Ksir's Old Reddit Please! Also cleaned up some of the code there a bit.