drewrwilson / SomeRichAsshole

Browser add-on that replaces "Donald Trump" with "Some Rich Asshole"
http://SomeRichAsshole.com
MIT License
17 stars 9 forks source link

vocabulistics enhancemaments #36

Open jstange opened 8 years ago

jstange commented 8 years ago

You probably don't want this, as it changes the nature of the beast, but I figured I'd do a courtesy check before publishing a forked version of the plugin. This abstracts away the phrase "rich asshole" into a function that picks one of a random series of such phrases. Specifically:

var phrases = ["rich asshole", "weapons-grade plum", "utter twonk", "absolute fucking doughnut", "witless fucking cocksplat", "weaselheaded fucknugget", "mangled apricot hellbeast", "clueless numpty", "blovating fleshbag", "incompressible jizztrumpet", "tiny-fingered, Cheeto-faced, ferret-wearing shitgibbon", "cockwomble", "ludicrous tangerine ballbag", "toupeed fucktrumpet", "weaselheaded fucknugget", "short-fingered vulgarian", "free-floating misogynist", "thin-skinned tyrant"];

It seems to be handling all of the capitalization manipulation correctly for me, at least in Chrome. I haven't bothered to test the Firefox or Safari version, as I have way too much drinking to get done, but it was pretty much a cut-and-paste job there.