Updated with code from the Chrome version of clout to butt plus.