Put the code in your remotes.
Alt + R
If the page that shows isn't blank, then click File -> New
When you have a blank page in front of you, then you can copy & paste the code.
Clicking OK at the bottom of the screen will automatically save the script in a loaded format and close the window.

See the original post, which I have edited for the new script.