Here you go. I figured out that I can add the domain extension to a list of good ones, and that worked nicely. I then realised I was going to have to add 700 to this list, which wasn't going to work. As a temporary fix I found that part that checks the length of the extension and the known addresses, and commented out the part that makes it return false.
If there is a better way to do this I am all ears :)