Gets rid of tracking URLs for all URLs except playlists, exactly what I wanted. Makes for easier copy and pasting to friends because now I don't have to delete the tracking info every time.
As an average Youtube user, I've spent a lot of extra effort on manually deleting all the ampersand-prefixed arguments from video links before sending them to people; mostly for compatibility reasons but partially because they make the URL long and ugly. This script saves me all of that effort. My OCD is pleased. Thank you.
Works like intended.