Solved Media

Autocompletion for Solve Media image CAPTCHAs.

目前為 2018-03-24 提交的版本,檢視 最新版本

// ==UserScript==
// @name        Solved Media
// @namespace   https://eugenox.appspot.com/
// @description Autocompletion for Solve Media image CAPTCHAs.
// @version     1.0.1
// @author      Eugene Nouvellieu <eugenox_gmail_com>
// @license     MIT
// @include     *
// @run-at      document-end
// @grant       unsafeWindow
// @homepageURL https://eugenox.appspot.com/script/solvedmedia
// ==/UserScript==

// Copyright (c) 2018 Eugene Nouvellieu <eugenox_gmail_com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do
// so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

'use strict';

var PHRASES = [
  "1.21 gigawatts",
  "5 dollar shake",
  "6 feet of snow",
  "8th chevron",
  "a wild captcha appears",
  "abelian grape",
  "abide with me",
  "abracadabra",
  "absent without leave",
  "absolute zero",
  "accidentally on purpose",
  "ace of spades",
  "across the board",
  "adapt improve succeed",
  "against the grain",
  "agree to disagree",
  "al capone",
  "all dancing",
  "all growns up",
  "all of the above",
  "all singing",
  "all your base",
  "almost got it",
  "always there",
  "am i happy",
  "anchors away",
  "and that's the way it is",
  "another castle",
  "anti dentite",
  "apple juice",
  "apple pie",
  "apple sauce",
  "april may",
  "april showers",
  "are we there yet",
  "are you ready",
  "are you the keymaster",
  "army training sir",
  "army training",
  "around here",
  "as i see it",
  "as you wish",
  "ask questions",
  "auto driving",
  "awesome dude",
  "awesome sauce",
  "azgoths of kria",
  "babel fish",
  "back to basics",
  "back track",
  "background noise",
  "bacon and eggs",
  "bad books",
  "bad egg",
  "bait the line",
  "baked in a pie",
  "ball of confusion",
  "banana bread",
  "banana split",
  "banana stand",
  "bangers and mash",
  "barking mad",
  "basket case",
  "bated breath",
  "bath water",
  "be careful",
  "be mine",
  "be nice",
  "be nimble be quick",
  "be serious now",
  "bean town",
  "beans and rice",
  "beautiful friendship",
  "been there",
  "beer in a bottle",
  "beer in the bottle",
  "bees knees",
  "beg the question",
  "bel my friend",
  "believe me",
  "berlin wall",
  "best fit line",
  "better call saul",
  "better half",
  "better next time",
  "beyond me",
  "big brother",
  "big kahuna burger",
  "big nose",
  "bigger in texas",
  "bike rider",
  "bird cage",
  "birthday boy",
  "birthday girl",
  "bizarro jerry",
  "black coffee",
  "black gold",
  "black jack",
  "black monday",
  "blahblahblah",
  "blaze a trail",
  "bless you",
  "blinded by science",
  "blog this",
  "blood type",
  "blue ribbon",
  "blue sky",
  "bob loblaw",
  "body surfing",
  "boiled cabbage",
  "bon voyage",
  "bond james bond",
  "bone dry",
  "bonus points",
  "bonus round",
  "book reading",
  "book worm",
  "boomerang",
  "born to run",
  "bots are bad m'kay",
  "bowties are cool",
  "box jelly fish",
  "box kitty",
  "boxx of chocolates",
  "braaains",
  "brand spanking new",
  "bread of life",
  "break the ice",
  "brick house",
  "broken record",
  "bruce lee",
  "brush your teeth",
  "buffalo wing",
  "bunny rabbit",
  "burger with fries",
  "burning oil",
  "burnt sienna",
  "butter side down",
  "buy some time",
  "by and large",
  "by the board",
  "by the book",
  "by the seashore",
  "cabbage borsht",
  "cabbage stew",
  "caesar salad",
  "call me maybe",
  "call me",
  "can i love",
  "candy apple",
  "capital gain",
  "captcha in the rye",
  "car trouble",
  "carbon copy",
  "carbon footprint",
  "card-sharp",
  "carpe diem",
  "carry a towel",
  "carry on",
  "cary grant",
  "case closed",
  "cat got your tongue",
  "catch the man",
  "cats and dogs",
  "cats pajamas",
  "chaise lounge",
  "challenge accepted",
  "change the world",
  "change yourself",
  "channel surfing",
  "charley horse",
  "charlie bit me",
  "charm offensive",
  "charmed life",
  "check your coat",
  "cheese steak",
  "cherry on top",
  "chicken feed",
  "chicken noodle",
  "chicken salad",
  "chicken soup",
  "chin boy",
  "chit chat",
  "choco lazer boom",
  "chocolate cookie",
  "chocolate milk",
  "chow down",
  "chuck norris",
  "clean hands",
  "clear blue water",
  "clear sailing",
  "cliffhanger",
  "close quarters",
  "cloud nine",
  "clown around",
  "coffee can",
  "cold comfort",
  "cold feet",
  "cold hat",
  "cold shoulder",
  "cold turkey",
  "coleslaw",
  "collaborate and listen",
  "come along pond",
  "come along",
  "come back",
  "come clean",
  "come on down",
  "come what may",
  "comma comma",
  "common law",
  "construction ahead",
  "cop an attitude",
  "cor blimey",
  "cordon bleu",
  "corned beef",
  "cotton on",
  "count your change",
  "counting sheep",
  "covered bridge",
  "crab cake",
  "crayola",
  "cream and sugar",
  "creative process",
  "creative vision",
  "creepy crawler",
  "crime of passion",
  "crocodile tears",
  "crop up",
  "cross the road",
  "cross the rubicon",
  "cubic spline",
  "cucumber sandwich",
  "cup cake",
  "curry favour",
  "cut the mustard",
  "dalek asylum",
  "dallas texas",
  "dance all night",
  "das oontz",
  "dead battery",
  "deal me in",
  "dear cookie",
  "dear mr vernon",
  "deep thought",
  "deep waters",
  "dharma initiative",
  "diddly squat",
  "diddy squat",
  "digital clock",
  "ding a ling",
  "dinner bell",
  "dinosaur spaceship",
  "dish water",
  "do a little dance",
  "do be do be do",
  "do it now",
  "do more situps",
  "do or do not",
  "do unto others",
  "do wah ditty",
  "do you believe in miracles",
  "do you love me",
  "dobedobedo",
  "doctor caligari",
  "doctor who",
  "doe a deer",
  "dog days",
  "dog's breakfast",
  "dog's dinner",
  "dogapus",
  "dogs dinner",
  "dollar bill",
  "dollar signs",
  "dollars to donuts",
  "domestic spying",
  "don't be late",
  "don't count on it",
  "don't dawdle",
  "don't stop",
  "don't waste time",
  "done that",
  "doodah man",
  "double crossed",
  "double dutch",
  "double jump",
  "double time",
  "double whammy",
  "double-cross",
  "down the hath",
  "down the rabbit hole",
  "downward slope",
  "drag race",
  "dragon with matches",
  "dragonfly",
  "dramatic chipmunk",
  "draw a blank",
  "dream big",
  "drink milk",
  "drive me to firenze",
  "drop table users",
  "drummer boy",
  "dusk till dawn",
  "dust up",
  "duvet day",
  "ear mark",
  "easy as cake",
  "easy as pie",
  "easy peasy",
  "eat cous cous",
  "eat out",
  "eat your dinner",
  "eat your veggies",
  "eat your vitamins",
  "ecks why zee",
  "edgar degas",
  "egg on",
  "eggs ter minate",
  "eighty six",
  "electro head",
  "elevator going up",
  "empire state of mind",
  "enjoy life",
  "ermahgerd capcher",
  "evil eye",
  "evil genius",
  "exceedingly well read",
  "exclamation",
  "exercise more",
  "extra cheese",
  "face the music",
  "fade away",
  "fair and square",
  "fairy godmother",
  "fairy tale",
  "fait accompli",
  "fake an umbrella",
  "fall guy",
  "fancy free",
  "fancy pants",
  "far away",
  "farsical aquatic ceremony",
  "fashion victim",
  "fast and loose",
  "fast asleep",
  "father time",
  "fathom out",
  "fava beans",
  "feeding frenzy",
  "feeling blue",
  "fellow traveller",
  "felsom prison",
  "fezes are cool",
  "field day",
  "fifth column",
  "filthy dirty mess",
  "finagle's law",
  "final answer",
  "finger lickin good",
  "fire brim stone",
  "fire cracker",
  "firecracker",
  "first contact",
  "first post",
  "first water",
  "first world",
  "fish and chips",
  "fish on",
  "flag day",
  "flat foot",
  "flat out",
  "flat tire",
  "flipadelphia",
  "flipflops",
  "flux capacitor",
  "foe-curling",
  "follow me",
  "folsom prison",
  "fool's paradise",
  "fools gold",
  "for keeps",
  "for sure",
  "for the birds",
  "for the gripper",
  "forbidden fruit",
  "foregone conclusion",
  "forget this",
  "forget you",
  "fork knife spoon",
  "forty two",
  "foul play",
  "four by two",
  "frabjous day",
  "france",
  "frankly my dear",
  "free hat",
  "freezing temperatures",
  "french fries",
  "french phrases",
  "fried ices",
  "fried rice",
  "friend zone",
  "frozen peas",
  "fuddy duddy",
  "full house",
  "full of stars",
  "full tilt",
  "fun with flags",
  "funny farm",
  "fusilli jerry",
  "fuzzy wuzzy",
  "gadzooks",
  "game is up",
  "gangnam style",
  "garden of eden",
  "garlic yum",
  "gathers moss",
  "gee louise",
  "gee whiz",
  "gene parmesan",
  "general tso",
  "genghis khan",
  "george washington",
  "get out",
  "get well",
  "get your goat",
  "giant bunny rabbit",
  "giddy-goat",
  "gift horse",
  "gimme pizza",
  "give or take",
  "glass ceiling",
  "global warming",
  "go berserk",
  "go further",
  "go gadget go",
  "goes to eleven",
  "gold medal",
  "golly jeepers",
  "good afternoon",
  "good buddy",
  "good day",
  "good evening",
  "good for nothing",
  "good grief",
  "good job",
  "good luck",
  "good morning",
  "good night",
  "good riddance",
  "good samaritan",
  "good work",
  "goody goody gumdrops",
  "goody gumdrop",
  "goody two shoes",
  "goose bumps",
  "goosebumps",
  "gordon bennett",
  "got my mojo",
  "gotham city",
  "gothic arch",
  "gothic church",
  "grain of salt",
  "grand slam",
  "grape soda",
  "grass up",
  "graveyard shift",
  "gravy train",
  "grease the skids",
  "greased lightning",
  "great scott",
  "great unwashed",
  "gregory peck",
  "gridlock",
  "grilled cheese",
  "groundhog day",
  "grumpy cat",
  "guinea pig",
  "guitar player",
  "gum shoe",
  "habsons choice",
  "had me at hello",
  "hairy eyeball",
  "halcyon days",
  "half done",
  "half empty",
  "half full",
  "half inch",
  "ham and cheese",
  "hamburger bun",
  "hammer time",
  "hand over fist",
  "handover fist",
  "hands down",
  "happy anniversary",
  "happy blessings",
  "happy clappy",
  "happy retirement",
  "happy trails",
  "hard cheese",
  "hard lines",
  "hard-sharp",
  "hardened prestoopnicks",
  "harp on",
  "harpoon",
  "haste makes waste",
  "hat head",
  "hat trick",
  "have a purpose",
  "have an inkling",
  "have courage",
  "have fun",
  "he loves her",
  "head case",
  "head over heels",
  "healthy food",
  "hear hear",
  "hear me roar",
  "heart break",
  "heart strings",
  "heart's content",
  "heat up",
  "heated debate",
  "heavens to betsy",
  "heavy metal",
  "heebie jeebies",
  "hello newman",
  "hello sweetie",
  "hello watson",
  "here or there",
  "here's johnny",
  "hey brother",
  "higgledy piggledy",
  "higgs boson",
  "high def",
  "high five",
  "high flyer",
  "high sleeper",
  "high time",
  "hissy fit",
  "history repeats itself",
  "hit the hay",
  "hit the sack",
  "hoagie roll",
  "hocus pocus",
  "hoi polloi",
  "hold your horses",
  "home james",
  "honey mustard",
  "hops a daisy",
  "horse and cart",
  "horse's mouth",
  "hot diggity dog",
  "hot pola",
  "hot-blooded",
  "hover hand",
  "how about lunch",
  "how about that",
  "how are you",
  "how interesting",
  "how now, brown cow",
  "how quaint",
  "how sweet",
  "how's it going",
  "howdy partner",
  "hug me",
  "hulk smash",
  "hunky dory",
  "hush puppies",
  "i am captcha",
  "i am fine",
  "i can do this",
  "i have fallen",
  "i know nothing",
  "i like humans",
  "i like turtles",
  "i like you",
  "i love deadlines",
  "i love lamp",
  "i love you",
  "i moustache you why",
  "i saw that",
  "i see",
  "i think i am",
  "i think i can",
  "i think so",
  "i want control",
  "i'm batman",
  "i'm blushing",
  "i'm cold brr",
  "i'm only human",
  "i'm so cold",
  "i'm sorry",
  "ice to meet you",
  "idk my bff jill",
  "if it fits",
  "im cold. brr",
  "imagine inspire create",
  "in limbo",
  "in over my head",
  "in spades",
  "in the air",
  "in the box",
  "in the cart",
  "in the doldrums",
  "inside out",
  "is it enough",
  "is it hot in here",
  "is it hot",
  "is it plugged in",
  "is low",
  "it doesn't count",
  "it happens",
  "it hurts",
  "it is certain",
  "it is enough",
  "it will pass",
  "it's over",
  "jabber wocky",
  "jack be nimble",
  "jay gatsby",
  "jerry built",
  "jimmy cricket",
  "jimmy horner",
  "john lennon",
  "jump higher",
  "jump over",
  "jump the candlestick",
  "jump the gun",
  "june july",
  "just dance",
  "just deserts",
  "just drive",
  "just friends",
  "just in time",
  "kangaroo count",
  "karma points",
  "keep calm",
  "keyboard cat",
  "kick your heels",
  "kindness of strangers",
  "king arthur",
  "kiss me",
  "kitten mittens",
  "kitty kat",
  "klatu berada nikto",
  "knick knack",
  "knock at the door",
  "knock back",
  "knock knock knock penny",
  "knock off",
  "knock on wood",
  "know the ropes",
  "know your paradoxes",
  "knuckle down",
  "kosher dill",
  "kundalini express",
  "labour of love",
  "ladies first",
  "lager frenzy",
  "lame duck",
  "lardy-dardy",
  "lark about",
  "laser beams",
  "last straw",
  "later gator",
  "laugh at me",
  "law of sines",
  "lawn giland",
  "lazy sunday",
  "learn challenge improve",
  "learn from mistakes",
  "learn succeed",
  "learn the ropes",
  "learn, advance",
  "leave britney alone",
  "leave me alone",
  "left or right",
  "left right",
  "lefty loosey",
  "less is more",
  "let it be",
  "let me know",
  "let me out",
  "lets eat",
  "level playing field",
  "library book",
  "lickety-split",
  "lie low",
  "light sleeper",
  "like a boss",
  "like the dickens",
  "linear algebra",
  "little bird told me",
  "little did he know",
  "little sister",
  "live free",
  "live in the moment",
  "live in the now",
  "live long + prosper",
  "live love internet",
  "live love type",
  "live transmission",
  "live with purpose",
  "living daylights",
  "lizard poisons spock",
  "lo and behold",
  "loaf of bread",
  "local derby",
  "lol cat",
  "long in the tooth",
  "look away",
  "look both ways",
  "looking glass",
  "lose face",
  "lost love",
  "love is blind",
  "love life",
  "love me",
  "love you",
  "love-hate",
  "lovey dovey",
  "lucille",
  "lucky you",
  "ludwig van",
  "lunatic fridge",
  "lunch time",
  "mad hatter",
  "mad science",
  "magic eight ball",
  "magical realism",
  "major intersection",
  "make a bee line",
  "make haste",
  "make my day",
  "many happy returns",
  "many wishes",
  "marble rye",
  "marcia marcia marcia",
  "mare's nest",
  "margin of error",
  "mark it zero",
  "market forces",
  "mars rover",
  "math test",
  "mayan ruins",
  "mea culpa",
  "meat and drink",
  "meat with gravy",
  "meddling kids",
  "media frenzy",
  "melody pond",
  "men in suits",
  "mend fences",
  "meow meow",
  "metropolis",
  "mickey finn",
  "miles to go",
  "milk was a bad choice",
  "milkshake",
  "million dollars",
  "miloko plus vellocet",
  "miloko plus",
  "mimsy borogoves",
  "minced oaths",
  "mind the gap",
  "minty fresh",
  "mish-mash",
  "miss you",
  "mister wilson",
  "moe's tavern",
  "mom and dad",
  "money lender",
  "moot point",
  "more better",
  "more chocolate",
  "more coffee",
  "more cow bell",
  "more internets",
  "morning person",
  "most interesting man",
  "mother country",
  "motley crew",
  "move along",
  "move mountains",
  "move over",
  "movers and shakers",
  "muffled rap music",
  "multi pass",
  "mum's the word",
  "mumbo jumbo",
  "murphy's law",
  "music machine",
  "mustachioed",
  "my bad",
  "my beating heart",
  "my better half",
  "my dear watson",
  "my friends can't dance",
  "my mind's eye",
  "my sources say no",
  "naise cain",
  "nalcyon days",
  "namby-pamby",
  "nanoo nanoo",
  "nap time",
  "narrow minded",
  "nautical phrases",
  "neart strings",
  "neckbeard",
  "need a bigger boat",
  "needs must",
  "nercolas cerg",
  "nest egg",
  "never gonna give you up",
  "never mind",
  "never quit",
  "nice to meet you",
  "night owl",
  "nip and tuck",
  "nitty gritty",
  "no dice",
  "no friend of mine",
  "no holds barred",
  "no means no",
  "no regrets",
  "no spoon",
  "no stinking badges",
  "no way",
  "none of the above",
  "nosy parker",
  "not a bot",
  "not in kansas",
  "not yet",
  "now and forever",
  "now look here",
  "nth degree",
  "nul points",
  "numa numa",
  "nut case",
  "nutrition",
  "nyan cat",
  "nyquist rate",
  "of course",
  "off the record",
  "oh brother",
  "oh hai",
  "oh sigh",
  "oh so close",
  "oh yes",
  "oh you",
  "oh, wait",
  "ohso close",
  "okey dokey",
  "old hat",
  "old shoe",
  "oliff-hanger",
  "om nom nom",
  "on a boat",
  "on cloud nine",
  "on the ball",
  "on-off",
  "once upon a time",
  "one day more",
  "one fell swoop",
  "one hit wonder",
  "one small step for man",
  "one stop shop",
  "one way street",
  "one way",
  "oontz oontz",
  "oops a daisy",
  "open season",
  "open sesame",
  "orange juice",
  "other worldly",
  "out of sorts",
  "out of toner",
  "outlook good",
  "over the hill",
  "over the moon",
  "over the top",
  "over there",
  "oxford university",
  "paints on the ground",
  "pandora's box",
  "paper jam",
  "paper plate",
  "partial derivative",
  "partly cloudy",
  "party on garth",
  "patch of grass",
  "patience child",
  "patty cake",
  "pay the ferryman",
  "pea brain",
  "pearly whites",
  "peg out",
  "pell mell",
  "penny loafer",
  "people like me",
  "pepe silvia",
  "pepper pot",
  "peppers and onions",
  "perfect world",
  "pester power",
  "peter out",
  "philadelphia",
  "phone home",
  "pick me",
  "pick up sticks",
  "pickle juice",
  "pickled peppers",
  "picture perfect",
  "pie are round",
  "pie are squared",
  "pie chart",
  "piece of cake",
  "pig's ear",
  "piggyback",
  "pipe down",
  "pipe dream",
  "piping hot",
  "pitter patter",
  "pizza topping",
  "plain sailing",
  "play a game",
  "play again",
  "play ball",
  "play hookey",
  "plenty of time",
  "plugged nickel",
  "pocket sized",
  "pod bay doors",
  "poetic justice",
  "point blank",
  "point to point",
  "point-blank",
  "points dont matter",
  "points font matter",
  "poison apple",
  "political party",
  "politicaly correct",
  "poly cracker",
  "pond life",
  "pool hall",
  "pool house",
  "poor house",
  "pork pies",
  "pound cake",
  "power dressing",
  "power tool",
  "practice makes perfect",
  "press into service",
  "prime time",
  "primrose path",
  "print out",
  "print paper",
  "public good",
  "pudding pops",
  "pumpkin pie",
  "puppy love",
  "push harder",
  "push the envelope",
  "pyrrhic victory",
  "quality time",
  "queen of hearts",
  "queen's yacht",
  "question everything",
  "question mark",
  "quotations",
  "rain go away",
  "rainy days",
  "raspberry tart",
  "reach higher",
  "read all over",
  "read me, write me",
  "read my mail",
  "ready set go",
  "real hoopy frood",
  "red handed",
  "red herring",
  "red tape",
  "red white and blue",
  "reduplicated phrases",
  "remain calm",
  "rent-a-swag",
  "respect me",
  "return to sender",
  "reverse the polarity",
  "rhino beetle",
  "rhodeisland",
  "rhyme nor reason",
  "rice and beans",
  "ride the subway",
  "riff-raff",
  "right hand turn",
  "right left",
  "righty tighty",
  "rinky-dink",
  "rise and shine",
  "river song",
  "road apples",
  "road less travelled",
  "roast beef",
  "robe of saffron",
  "rock your brains",
  "rocket science",
  "rodents of unusual size",
  "roflcopter",
  "roll over",
  "roller skates",
  "rooftop",
  "room for activities",
  "roommate agreement",
  "root beer float",
  "rope burn",
  "rosebud",
  "rosie lea",
  "rough diamond",
  "round one",
  "round robin",
  "round tab1e",
  "route one",
  "roy g biv",
  "royal flash",
  "rubicon crossed",
  "rule of chomio",
  "rule of thumb",
  "rum do",
  "run amok",
  "run away",
  "run farther",
  "run the gauntlet",
  "runny nose",
  "saber tooth",
  "sacred cow",
  "safety first",
  "salad days",
  "salt and pepper",
  "salty cheese",
  "sandy beach",
  "saturday detention",
  "sauer kraut",
  "sausages",
  "save face",
  "save our bluths",
  "savoir faire",
  "sax and violins",
  "say cheese",
  "school is cool",
  "science class",
  "science fair",
  "science it works",
  "science project",
  "scot free",
  "screw driver",
  "sea change",
  "sea shell",
  "sea shore",
  "seattle",
  "see red",
  "see ya",
  "seek beauty",
  "seems legit",
  "select from table",
  "send packing",
  "senior citizen",
  "seven ate nine",
  "seven signs",
  "seze the day",
  "shaken not stirred",
  "shakers and movers",
  "shane come back",
  "sharp stick",
  "she sells seashells",
  "she sells",
  "she's a witch",
  "sheldon alpha five",
  "shilly-shally",
  "ship shape",
  "shoe shine",
  "shoes shine",
  "shoot through",
  "shoulder of orion",
  "signs point to yes",
  "silence is golden",
  "silver bells",
  "silver hoing",
  "silver lining",
  "silver spoon",
  "sing a song",
  "sixes and sevens",
  "sixteen point turn",
  "skidrow",
  "sky's the limit",
  "skynet is watching",
  "skynet watches",
  "sleep tight",
  "sleepy hollow",
  "slimy goop",
  "slippery slope",
  "slow down",
  "slow milenky lizards",
  "slythy toves",
  "small fries",
  "small fry",
  "smashed potato",
  "smell that",
  "smelling salt",
  "smoked salmon",
  "snake eyes",
  "snapshot",
  "snow drift",
  "snow flurry",
  "snow shovel",
  "so far away",
  "so life like",
  "sod's law",
  "soft kitty warm kitty",
  "somebody that i used to know",
  "sonic screw driver",
  "sorry dave",
  "sorry sight",
  "souffle girl",
  "sound bite",
  "sound of sirens",
  "sound out",
  "sour grapes",
  "space is big",
  "spangled banner",
  "speeding bullet",
  "spelling bee",
  "spend time",
  "spick and span",
  "spicy hot",
  "spicy",
  "spin doctor",
  "spitting feathers",
  "spitting image",
  "spoilers",
  "spread the net",
  "spruce up",
  "square meal",
  "square one",
  "squeaky clean",
  "squirrel friend",
  "st johns bay",
  "stalla stella",
  "stand by me",
  "stand up guy",
  "star spangled",
  "star wars kid",
  "start from scratch",
  "stay safe",
  "steak and eggs",
  "steam punk",
  "steering wheel",
  "step back",
  "step over",
  "steve holt",
  "steve jobs",
  "sticky wicket",
  "sting like a bee",
  "stinking rich",
  "stinky feet",
  "stony-hearted",
  "stool pigeon",
  "streams of oceanus",
  "strike three",
  "string along",
  "stump up",
  "sudo make sandwich",
  "sulphur smell",
  "summon inglip",
  "sun tzu says",
  "sunday",
  "sunshine",
  "suntzu says",
  "super star",
  "surf and turf",
  "swan song",
  "sweet dreams",
  "sweety pie",
  "swirling vortex of entropy",
  "taco tuesday",
  "take a look",
  "take an umbrella",
  "take care",
  "take it all",
  "take out food",
  "take potluck",
  "take the cake",
  "take umbrage",
  "take wrong turns",
  "taken aback",
  "talk the talk",
  "talk to strangers",
  "talk turkey",
  "tall building",
  "tall story",
  "tastes good",
  "tastes like chicken",
  "tea earl gray hot",
  "tea leaf",
  "tea with jam",
  "tea with milk",
  "tear us apart",
  "technicolor yawn",
  "teflon president",
  "teh inter webs",
  "ten four",
  "tesla coil",
  "thank you, come again",
  "that escalated quickly",
  "that's a fact jack",
  "that's enough",
  "that's hot",
  "that's it",
  "that's my spot",
  "the bee's knees",
  "the bible",
  "the big apple",
  "the big cheese",
  "the big easy",
  "the cat lady",
  "the cats cradle",
  "the dennis system",
  "the dude abides",
  "the next level",
  "the nightman cometh",
  "the one eyed man is a king",
  "the other side",
  "the yellow king",
  "there is no spoon",
  "there is only zul",
  "there once was",
  "these parts",
  "they are watching",
  "they ate it",
  "thick and thin",
  "think green",
  "think hard",
  "think twice",
  "thinking cap",
  "third degree",
  "this is sparta",
  "this or that",
  "this statement is false",
  "three short words",
  "three strikes",
  "thumbs up",
  "thunder storm",
  "ticked off",
  "tickled pink",
  "tide over",
  "tight lipped",
  "time and paper",
  "time circuits",
  "time flies",
  "time machine",
  "time will tell",
  "times square",
  "to boot",
  "toe curling",
  "toe the line",
  "toe-curling",
  "together again",
  "too bad",
  "too late",
  "too many secrets",
  "too salty",
  "toodle oo",
  "top dog",
  "top drawer",
  "top notch",
  "top ten",
  "topsy turvy",
  "tor curling",
  "total shamble",
  "towel dry",
  "tower of strength",
  "traffic jam",
  "traffic light",
  "train surfing",
  "travel size",
  "treat yoself",
  "trick or treat",
  "trickle down",
  "trolololol",
  "true blue",
  "trust me",
  "tuckered out",
  "tuna fish",
  "tune fish",
  "tune in",
  "turkey sandwich",
  "turn signal",
  "turn the tables",
  "turn up trumps",
  "twenty eight days",
  "twenty four seven",
  "twenty one",
  "twenty three",
  "two left feet",
  "two tone",
  "uncharted island",
  "uncle leo",
  "under the sea",
  "underpants",
  "union jack",
  "unlimited wishes",
  "untied laces",
  "until next time",
  "until tomorrow",
  "until tonight",
  "up and away",
  "up or down",
  "upper crust",
  "upper hand",
  "ups a daisy",
  "upvote this",
  "upward slope",
  "urban myth",
  "van surfing",
  "vanilla ice cream",
  "veg out",
  "vegan zombie wants grains",
  "vegetarian",
  "very nice",
  "vicious cycle",
  "video tape",
  "vienna calling",
  "virtue of necessity",
  "vis a vis",
  "vis avis",
  "vocal minority",
  "voigt kampf",
  "vorpal sword",
  "vote pancakes",
  "walk free",
  "walk the plank",
  "walk the walk",
  "want more",
  "warp speed",
  "wash whites separately",
  "watch me",
  "watch out",
  "water gate",
  "wax poetic",
  "way to go donny",
  "we go forwards",
  "we like the moon",
  "weakest link",
  "weasel words",
  "well done",
  "well heeled",
  "well now",
  "well read",
  "weylan yutani",
  "what ever",
  "what if",
  "what is for dinner",
  "what is your quest",
  "what should we call me",
  "what to see",
  "what's that",
  "wheebie-jeebies",
  "wheel group",
  "when where",
  "where to go",
  "whet your appetite",
  "whistle and flute",
  "white as snow",
  "white bread",
  "white elephant",
  "white rabbit",
  "who am i",
  "who are you",
  "who is it",
  "who you gonna call",
  "who, what, where",
  "whoa there",
  "whole nine yards",
  "whoopee cushion",
  "whoops a daisy",
  "wicked witch",
  "wide berth",
  "wild west",
  "willy nilly",
  "win hands down",
  "window dressing",
  "wing it",
  "winter is coming",
  "winter snow",
  "wisdom of inglip",
  "wisdom teeth",
  "wishy-washy",
  "with bells on",
  "without a doubt",
  "woof woof",
  "word for word",
  "words of wisdom",
  "work out",
  "would you believe",
  "wright flyer",
  "writing desk",
  "x all the y",
  "xylophone",
  "yadda yadda yadda",
  "yeah right",
  "year dot",
  "yee haw",
  "yellow belly",
  "yes definitely",
  "yes ma'am",
  "yes this is dog",
  "you don't say",
  "you first",
  "you good",
  "you rock",
  "you the man",
  "you win",
  "you're in my spot",
  "you're not listening",
  "you're welcome",
  "zombie attack",
  "zombie prom"
];

function publish(entity) {
  if (typeof exportFunction == 'function' && typeof cloneInto == 'function') {
    switch (typeof entity) {
      case 'function':
        return exportFunction(entity, unsafeWindow);

      case 'object':
        return cloneInto(entity, unsafeWindow, {cloneFunctions: true});
    }
  }

  return entity;
}

function setup() {
  var datalist = document.createElement('datalist');
  datalist.setAttribute('id', 'adcopy_phrases');

  for (var i = 0; i < PHRASES.length; ++i) {
    datalist.appendChild(document.createElement('option')).appendChild(document.createTextNode(PHRASES[i]));
  }

  var input = document.getElementById('adcopy_response');
  input.parentNode.insertBefore(datalist, input.nextSibling);
  input.setAttribute('list', datalist.id);
}

var scripts = document.getElementsByTagName('script');

for (var i = 0; i < scripts.length; ++i) {
  if (scripts[i].src.indexOf('solvemedia.com') > -1) {
    if (unsafeWindow.ACPuzzleOptions) {
      unsafeWindow.ACPuzzleOptions.callback = publish(setup);
    }
    else {
      unsafeWindow.ACPuzzleOptions = publish({callback: setup});
    }

    break;
  }
}