Initial commit of script previously published on userscripts.org.