On the given website, you can see a text box with some javascript code snippet.
I copied the above code and put it in a online javascript compiler and changed the alert call to console.log to print the output and ran the program to get the flag. Basically the program decrypts the encrypted flag.