The script works in:
Here are the formats you can download using this script (Wikipedia has the full list):
After downloading videos, you can play them using free applications like:
: Scriptish and Greasemonkey for Firefox and Tampermonkey for Chrome support automatic updating.
: If you use Firefox, you can also install an extension based on this script. There's also an extension for Opera.