diff --git a/Typing Speed Check/manifest.json b/Typing Speed Check/manifest.json index 290667f7..3cbee3f9 100644 --- a/Typing Speed Check/manifest.json +++ b/Typing Speed Check/manifest.json @@ -1,8 +1,8 @@ { - "manifest_version": 3, + "manifest_version": 4, "name": "Typing Speed Check", "version": "1.0", - "description": "This extension will help you to improve your typing speed.", + "description": "This extension will help you to improve your typing speed. This extension helps you by giving you a random 430character paragraph to check your speed.", "permissions": [ "storage" ], @@ -20,5 +20,4 @@ "matches": [""] } ] - } - \ No newline at end of file + } \ No newline at end of file diff --git a/Typing Speed Check/scripts/paragraphs.js b/Typing Speed Check/scripts/paragraphs.js index 8d3207e2..83a08b3f 100644 --- a/Typing Speed Check/scripts/paragraphs.js +++ b/Typing Speed Check/scripts/paragraphs.js @@ -1,22 +1,112 @@ -const paragraphs = [ - "Authors often misinterpret the lettuce as a folklore rabbi, when in actuality it feels more like an uncursed bacon. Pursued distances show us how mother-in-laws can be charleses. Authors often misinterpret the lion as a cormous science, when in actuality it feels more like a leprous lasagna. Recent controversy aside, their band was, in this moment, a racemed suit. The clutch of a joke becomes a togaed chair. The first pickled chess is.", - "In modern times the first scrawny kitten is, in its own way, an input. An ostrich is the beginner of a roast. An appressed exhaust is a gun of the mind. A recorder is a grade from the right perspective. A hygienic is the cowbell of a skin. Few can name a dun brazil that isn't a highbrow playroom. The unwished beast comes from a thorny oxygen. An insured advantage's respect comes with it the thought that the lucid specialist is a fix.", - "In ancient times the legs could be said to resemble stroppy vegetables. We can assume that any instance of a centimeter can be construed as an enate paste. One cannot separate pairs from astute managers. Those americas are nothing more than fish. If this was somewhat unclear, authors often misinterpret the gosling as an unfelt banjo, when in actuality it feels more like a professed galley. A bow of the squirrel is assumed.", - "What we don't know for sure is whether or not a pig of the coast is assumed to be a hardback pilot. The literature would have us believe that a dusky clave is not but an objective. Few can name a limbate leo that isn't a sunlit silver. The bow is a mitten. However, the drawer is a bay. If this was somewhat unclear, few can name a paunchy blue that isn't a conoid bow. The undrunk railway reveals itself as a downstage bamboo to those who look.", - "Their politician was, in this moment, a notour paperback. The first armless grouse is, in its own way, a gear. The coat is a wash. However, a cake is the llama of a caravan. Snakelike armies show us how playgrounds can be viscoses. Framed in a different way, they were lost without the fatal dogsled that composed their waitress. Far from the truth, the cockney freezer reveals itself as a wiggly tornado to those who look. The first hawklike sack.", - "An aunt is a bassoon from the right perspective. As far as we can estimate, some posit the melic myanmar to be less than kutcha. One cannot separate foods from blowzy bows. The scampish closet reveals itself as a sclerous llama to those who look. A hip is the skirt of a peak. Some hempy laundries are thought of simply as orchids. A gum is a trumpet from the right perspective. A freebie flight is a wrench of the mind. Some posit the croupy.", - "A baby is a shingle from the right perspective. Before defenses, collars were only operations. Bails are gleesome relatives. An alloy is a streetcar's debt. A fighter of the scarecrow is assumed to be a leisured laundry. A stamp can hardly be considered a peddling payment without also being a crocodile. A skill is a meteorology's fan. Their scent was, in this moment, a hidden feeling. The competitor of a bacon becomes a boxlike cougar.", - "A broadband jam is a network of the mind. One cannot separate chickens from glowing periods. A production is a faucet from the right perspective. The lines could be said to resemble zincoid females. A deborah is a tractor's whale. Cod are elite japans. Some posit the wiglike norwegian to be less than plashy. A pennoned windchime's burst comes with it the thought that the printed trombone is a supply. Relations are restless tests.", - "In recent years, some teeming herons are thought of simply as numbers. Nowhere is it disputed that an unlaid fur is a marble of the mind. Far from the truth, few can name a glossy lier that isn't an ingrate bone. The chicken is a giraffe. They were lost without the abscessed leek that composed their fowl. An interviewer is a tussal bomb. Vanward maracas show us how scarfs can be doubts. Few can name an unguled punch that isn't pig.", - "A cough is a talk from the right perspective. A designed tractor's tray comes with it the thought that the snuffly flax is a rainbow. Their health was, in this moment, an earthy passbook. This could be, or perhaps the swordfishes could be said to resemble healthy sessions. A capricorn is a helium from the right perspective. However, a sled is a mailman's tennis. The competitor of an alarm becomes a toeless raincoat. Their twist was, in this moment.", - "Authors often misinterpret the flag as a wayless trigonometry, when in actuality it feels more like a bousy gold. Few can name a jasp oven that isn't a stutter grape. They were lost without the huffy religion that composed their booklet. Those waves are nothing more than pedestrians. Few can name a quartered semicolon that isn't a rounding scooter. Though we assume the latter, the literature would have us believe.", - "This could be, or perhaps few can name a pasteboard quiver that isn't a brittle alligator. A swordfish is a death's numeric. Authors often misinterpret the mist as a swelling asphalt, when in actuality it feels more like a crosswise closet. Some posit the tonal brother-in-law to be less than newborn. We know that the sizes could be said to resemble sleepwalk cycles. Before seasons, supplies were only fighters. Their stew was, in this moment.", - "The vision of an attempt becomes a lawny output. Dibbles are mis womens. The olden penalty reveals itself as a bustled field to those who look. Few can name a chalky force that isn't a primate literature. However, they were lost without the gamy screen that composed their beret. Nowhere is it disputed that a step-uncle is a factory from the right perspective. One cannot separate paints from dreary windows. What we don't know for sure is whether.", - "A tramp is a siamese from the right perspective. We know that a flitting monkey's jaw comes with it the thought that the submersed break is a pamphlet. Their cream was, in this moment, a seedy daffodil. The nest is a visitor. Far from the truth, they were lost without the released linen that composed their step-sister. A vibraphone can hardly be considered a pardine process without also being an archaeology. The bay of a hyacinth becomes.", - "The frosts could be said to resemble backstage chards. One cannot separate colleges from pinkish bacons. Far from the truth, the mom of a rooster becomes a chordal hydrogen. A tempo can hardly be considered a purer credit without also being a pajama. The first combined ease is, in its own way, a pantyhose. Extending this logic, the guides could be said to resemble reddest monkeies. Framed in a different way, an addle hemp is a van.", - "Far from the truth, an ajar reminder without catamarans is truly a foundation of smarmy semicircles. An alike board without harps is truly a satin of fated pans. A hubcap sees a parent as a painful beautician. The zeitgeist contends that some intense twigs are thought of simply as effects. A cross is a poppied tune. The valanced list reveals itself as an exchanged wrist to those who look. Recent controversy aside.", - "The hefty opinion reveals itself as a sterile peer-to-peer to those who look. This could be, or perhaps the watch of a diamond becomes a bosom baboon. In recent years, some posit the unstuffed road to be less than altern. It's an undeniable fact, really; the livelong lettuce reveals itself as an unstuffed soda to those who look. In ancient times a bit is a balance's season. The popcorn of a morning becomes a moonless beauty.", - "If this was somewhat unclear, a friend is a fridge from the right perspective. An upset carriage is a stitch of the mind. To be more specific, a temper is a pair from the right perspective. Authors often misinterpret the liquid as a notchy baseball, when in actuality it feels more like an unbarbed angle. Though we assume the latter, the first vagrom report is, in its own way, a tower. We know that the octopus of a cd becomes an unrent dahlia.", - "A reptant discussion's rest comes with it the thought that the condemned syrup is a wish. The drake of a wallaby becomes a sonant harp. If this was somewhat unclear, spotty children show us how technicians can be jumps. Their honey was, in this moment, an intime direction. A ship is the lion of a hate. They were lost without the croupous jeep that composed their lily. In modern times a butcher of the birth is assumed to be a spiral bean.", - "Those cowbells are nothing more than elements. This could be, or perhaps before stockings, thoughts were only opinions. A coil of the exclamation is assumed to be a hurtless toy. A board is the cast of a religion. In ancient times the first stinko sailboat is, in its own way, an exchange. Few can name a tutti channel that isn't a footless operation. Extending this logic, an oatmeal is the rooster of a shake. Those step-sons are nothing more than matches." +const words = [ + "often", "misinterpret", "the", "lettuce", "as", "folklore", "rabbi", "when", "in", "actuality", "it", "feels", "more", "actuality", + "more", "like", "an", "uncursed", "bacon", "pursued", "distances", "show", "us", "how", "mother-in-laws", "can", "be", "charleses", + "authors", "often", "misinterpret", "the", "lion", "as", "cormous", "science", "when", "in", "it", "like", "leprous", "lasagna", + "recent", "controversy", "aside", "their", "band", "was", "is", "this", "moment", "racemed", "suit", "clutch", "joke", "becomes", "togaed", + "chair", "first", "pickled", "chess", "in", "modern", "times", "scrawny", "kitten", "is", "input", "ostrich", "beginner", "roast", "appressed", + "exhaust", "is", "gun", "mind", "recorder", "grade", "right", "perspective", "hygienic", "cowbell", "skin", "dun", "brazil", "highbrow", + "playroom", "unwished", "beast", "thorny", "oxygen", "insured", "advantage", "respect", "comes", "thought", "lucid", "specialist", "fix", + "ancient", "legs", "could", "resemble", "stroppy", "vegetables", "we", "can", "assume", "any", "instance", "centimeter", "construed", "enate", + "paste", "americas", "fish", "gosling", "unfelt", "banjo", "professed", "galley", "bow", "squirrel", "mitten", "drawer", "bay", "pig", "coast", + "hardback", "pilot", "literature", "objective", "limbate", "leo", "sunlit", "silver", "armless", "grouse", "gear", "coat", "wash", "cake", "llama", + "caravan", "snakelike", "armies", "playgrounds", "in", "ancient", "times", "the", "legs", "could", "be", "said", "to", "resemble", "stroppy", + "vegetables", "we", "can", "assume", "that", "any", "instance", "of", "a", "centimeter", "can", "be", "construed", "as", "an", "enate", "paste", + "one", "cannot", "separate", "pairs", "from", "astute", "managers", "those", "americas", "are", "nothing", "more", "than", "fish", "if", "this", + "was", "somewhat", "unclear", "authors", "often", "misinterpret", "the", "gosling", "as", "an", "unfelt", "banjo", "when", "in", "actuality", + "it", "feels", "more", "like", "a", "professed", "galley", "a", "bow", "of", "the", "squirrel", "is", "assumed", "what", "we", "don't", "know", + "for", "sure", "is", "whether", "or", "not", "a", "pig", "of", "the", "coast", "is", "assumed", "to", "be", "a", "hardback", "pilot", "the", + "literature", "would", "have", "us", "believe", "that", "a", "dusky", "clave", "is", "not", "but", "an", "objective", "few", "can", "name", "a", + "limbate", "leo", "that", "isn't", "a", "sunlit", "silver", "the", "bow", "is", "a", "mitten", "however", "the", "drawer", "is", "a", "bay", + "if", "this", "was", "somewhat", "unclear", "few", "can", "name", "a", "paunchy", "blue", "that", "isn't", "a", "conoid", "bow", "the", "undrunk", + "railway", "reveals", "itself", "as", "a", "downstage", "bamboo", "to", "those", "who", "look", "their", "politician", "was", "in", "this", + "moment", "a", "notour", "paperback", "the", "first", "armless", "grouse", "is", "in", "its", "own", "way", "a", "gear", "the", "coat", "is", + "a", "wash", "however", "a", "cake", "is", "the", "llama", "of", "a", "caravan", "snakelike", "armies", "show", "us", "how", "playgrounds", + "can", "be", "viscoses", "framed", "in", "a", "different", "way", "they", "were", "lost", "without", "the", "fatal", "dogsled", "that", + "composed", "their", "waitress", "far", "from", "the", "truth", "the", "cockney", "freezer", "reveals", "itself", "as", "a", "wiggly", + "tornado", "to", "those", "who", "look", "the", "first", "hawklike", "sack", "an", "aunt", "is", "a", "bassoon", "from", "the", "right", + "perspective", "as", "far", "as", "we", "can", "estimate", "some", "posit", "the", "melic", "myanmar", "to", "be", "less", "than", "kutcha", + "one", "cannot", "separate", "foods", "from", "blowzy", "bows", "the", "scampish", "closet", "reveals", "itself", "as", "a", "sclerous", "llama", + "to", "those", "who", "look", "a", "hip", "is", "the", "skirt", "of", "a", "peak", "some", "hempy", "laundries", "are", "thought", "of", "simply", + "as", "orchids", "a", "gum", "is", "a", "trumpet", "from", "the", "right", "perspective", "a", "freebie", "flight", "is", "a", "wrench", "of", "the", + "mind", "some", "posit", "the", "croupy", "a", "baby", "is", "a", "shingle", "from", "the", "right", "perspective", "before", "defenses", "collars", + "were", "only", "operations", "bails", "are", "gleesome", "relatives", "an", "alloy", "is", "a", "streetcar's", "debt", "a", "fighter", "of", + "the", "scarecrow", "is", "assumed", "to", "be", "a", "leisured", "laundry", "a", "stamp", "can", "hardly", "be", "considered", "a", "peddling", + "payment", "without", "also", "being", "a", "crocodile", "a", "skill", "is", "a", "meteorology's", "fan", "their", "scent", "was", "in", "this", + "moment", "a", "hidden", "feeling", "the", "competitor", "of", "a", "bacon", "becomes", "a", "boxlike", "cougar", "a", "broadband", "jam", + "is", "a", "network", "of", "the", "mind", "one", "cannot", "separate", "chickens", "from", "glowing", "periods", "a", "production", "is", "a", + "faucet", "from", "the", "right", "perspective", "the", "lines", "could", "be", "said", "to", "resemble", "zincoid", "females", "a", "deborah", + "is", "a", "tractor's", "whale", "cod", "are", "elite", "japans", "some", "posit", "the", "wiglike", "norwegian", "to", "be", "less", "than", + "plashy", "a", "pennoned", "windchime's", "burst", "comes", "their", "politician", "was", "in", "this", "moment", "a", "notour", "paperback", + "the", "first", "armless", "grouse", "is", "in", "its", "own", "way", "a", "gear", "the", "coat", "is", "a", "wash", "however", "a", "cake", + "is", "the", "llama", "of", "a", "caravan", "snakelike", "armies", "show", "us", "how", "playgrounds", "can", "be", "viscoses", "framed", "in", + "a", "different", "way", "they", "were", "lost", "without", "the", "fatal", "dogsled", "that", "composed", "their", "waitress", "far", "from", + "the", "truth", "the", "cockney", "freezer", "reveals", "itself", "as", "a", "wiggly", "tornado", "to", "those", "who", "look", "the", "first", + "hawklike", "sack", "an", "aunt", "is", "a", "bassoon", "from", "the", "right", "perspective", "as", "far", "as", "we", "can", "estimate", "some", + "posit", "the", "melic", "myanmar", "to", "be", "less", "than", "kutcha", "one", "cannot", "separate", "foods", "from", "blowzy", "bows", "the", + "scampish", "closet", "reveals", "itself", "as", "a", "sclerous", "llama", "to", "those", "who", "look", "a", "hip", "is", "the", "skirt", "of", + "a", "peak", "some", "hempy", "laundries", "are", "thought", "of", "simply", "as", "orchids", "a", "gum", "is", "a", "trumpet", "from", "the", + "right", "perspective", "a", "freebie", "flight", "is", "a", "wrench", "of", "the", "mind", "some", "posit", "the", "croupy", "a", "baby", "is", + "a", "shingle", "from", "the", "right", "perspective", "before", "defenses", "collars", "were", "only", "operations", "bails", "are", "gleesome", + "relatives", "an", "alloy", "is", "a", "streetcar's", "debt", "a", "fighter", "of", "the", "scarecrow", "is", "assumed", "to", "be", "a", + "leisured", "laundry", "a", "stamp", "can", "hardly", "be", "considered", "a", "peddling", "payment", "without", "also", "being", "a", "crocodile", + "a", "skill", "is", "a", "meteorology's", "fan", "their", "scent", "was", "in", "this", "moment", "a", "hidden", "feeling", "the", "competitor", + "of", "a", "bacon", "becomes", "a", "boxlike", "cougar", "a", "broadband", "jam", "is", "a", "network", "of", "the", "mind", "one", "cannot", + "separate", "chickens", "from", "glowing", "periods", "a", "production", "is", "a", "faucet", "from", "the", "right", "perspective", "the", + "lines", "could", "be", "said", "to", "resemble", "zincoid", "females", "in", "recent", "years", "some", "teeming", "herons", "are", + "thought", "of", "simply", "as", "numbers", "nowhere", "is", "it", "disputed", "that", "an", "unlaid", "fur", "is", "a", "marble", "of", + "the", "mind", "far", "from", "the", "truth", "few", "can", "name", "a", "glossy", "lier", "that", "isn't", "an", "ingrate", "bone", "the", + "chicken", "is", "a", "giraffe", "they", "were", "lost", "without", "the", "abscessed", "leek", "that", "composed", "their", "fowl", "an", + "interviewer", "is", "a", "tussal", "bomb", "vanward", "maracas", "show", "us", "how", "scarfs", "can", "be", "doubts", "few", "can", "name", + "an", "unguled", "punch", "that", "isn't", "pig", "a", "cough", "is", "a", "talk", "from", "the", "right", "perspective", "a", "designed", + "tractor's", "tray", "comes", "with", "it", "the", "thought", "that", "the", "snuffly", "flax", "is", "a", "rainbow", "their", "health", "was", + "in", "this", "moment", "an", "earthy", "passbook", "this", "could", "be", "or", "perhaps", "the", "swordfishes", "could", "be", "said", "to", + "resemble", "healthy", "sessions", "a", "capricorn", "is", "a", "helium", "from", "the", "right", "perspective", "however", "a", "sled", "is", + "a", "mailman's", "tennis", "the", "competitor", "of", "an", "alarm", "becomes", "a", "toeless", "raincoat", "their", "twist", "was", "in", + "this", "moment", "authors", "often", "misinterpret", "the", "flag", "as", "a", "wayless", "trigonometry", "when", "in", "actuality", "it", + "feels", "more", "like", "a", "bousy", "gold", "few", "can", "name", "a", "jasp", "oven", "that", "isn't", "a", "stutter", "grape", "they", + "were", "lost", "without", "the", "huffy", "religion", "that", "composed", "their", "booklet", "those", "waves", "are", "nothing", "more", + "than", "pedestrians", "few", "can", "name", "a", "quartered", "semicolon", "that", "isn't", "a", "rounding", "scooter", "though", "we", + "assume", "the", "latter", "the", "literature", "would", "have", "us", "believe", "this", "could", "be", "or", "perhaps", "few", "can", + "name", "a", "pasteboard", "quiver", "that", "isn't", "a", "brittle", "alligator", "a", "swordfish", "is", "a", "death's", "numeric", "authors", + "often", "misinterpret", "the", "mist", "as", "a", "swelling", "asphalt", "when", "in", "actuality", "it", "feels", "more", "like", "a", + "crosswise", "closet", "some", "posit", "the", "tonal", "brother-in-law", "to", "be", "less", "than", "newborn", "we", "know", "that", "the", + "sizes", "could", "be", "said", "to", "resemble", "sleepwalk", "cycles", "before", "seasons", "supplies", "were", "only", "fighters", + "their", "stew", "was", "in", "this", "moment", "the", "vision", "of", "an", "attempt", "becomes", "a", "lawny", "output", "dibbles", + "are", "mis", "womens", "the", "olden", "penalty", "reveals", "itself", "as", "a", "bustled", "field", "to", "those", "who", "look", + "few", "can", "name", "a", "chalky", "force", "that", "isn't", "a", "primate", "literature", "however", "they", "were", "lost", "without", + "the", "gamy", "screen", "that", "composed", "their", "beret", "nowhere", "is", "it", "disputed", "that", "a", "step-uncle", "is", "a", + "factory", "from", "the", "right", "perspective", "one", "cannot", "separate", "paints", "from", "dreary", "windows", "what", "we", "don't", + "know", "for", "sure", "is", "whether", "a", "tramp", "is", "a", "siamese", "from", "the", "right", "perspective", "we", "know", "that", "a", + "flitting", "monkey's", "jaw", "comes", "with", "it", "the", "thought", "that", "the", "submersed", "break", "is", "a", "pamphlet", "their", + "cream", "was", "in", "this", "moment", "a", "seedy", "daffodil", "the", "nest", "is", "a", "visitor", "far", "from", "the", "truth", "they", + "were", "lost", "without", "the", "released", "linen", "that", "composed", "their", "step-sister", "a", "vibraphone", "can", "hardly", "be", + "considered", "a", "pardine", "process", "without", "also", "being", "an", "archaeology", "the", "bay", "of", "a", "hyacinth", "becomes", + "the", "frosts", "could", "be", "said", "to", "resemble", "backstage", "chards", "one", "cannot", "separate", "colleges", "from", "pinkish", + "bacons", "far", "from", "the", "truth", "the", "mom", "of", "a", "rooster", "becomes", "a", "chordal", "hydrogen", "a", "tempo", "can", "hardly", + "be", "considered", "a", "purer", "credit", "without", "also", "being", "a", "pajama", "the", "first", "combined", "ease", "is", "in", "its", + "own", "way", "a", "pantyhose", "extending", "this", "logic", "the", "guides", "could", "be", "said", "to", "resemble", "reddest", "monkeies", + "framed", "in", "a", "different", "way", "an", "addle", "hemp", "is", "a", "van", "far", "from", "the", "truth", "an", "ajar", "reminder", + "without", "catamarans", "is", "truly", "a", "foundation", "of", "smarmy", "semicircles", "an", "alike", "board", "without", "harps", "is", + "truly", "a", "satin", "of", "fated", "pans", "a", "hubcap", "sees", "a", "parent", "as", "a", "painful", "beautician", "the", "zeitgeist", + "contends", "that", "some", "intense", "twigs", "are", "thought", "of", "simply", "as", "effects", "a", "cross", "is", "a", "poppied", "tune", + "the", "valanced", "list", "reveals", "itself", "as", "an", "exchanged", "wrist", "to", "those", "who", "look", "recent", "controversy", + "aside", "the", "hefty", "opinion", "reveals", "itself", "as", "a", "sterile", "peer-to-peer", "to", "those", "who", "look", "this", "could", + "be", "or", "perhaps", "the", "watch", "of", "a", "diamond", "becomes", "a", "bosom", "baboon", "in", "recent", "years", "some", "posit", "the", + "unstuffed", "road", "to", "be", "less", "than", "altern", "it's", "an", "undeniable", "fact", "really", "the", "livelong", "lettuce", "reveals", + "itself", "as", "an", "unstuffed", "soda", "to", "those", "who", "look", "in", "ancient", "times", "a", "bit", "is", "a", "balance's", "season", + "the", "popcorn", "of", "a", "morning", "becomes", "a", "moonless", "beauty", "if", "this", "was", "somewhat", "unclear", "a", "friend", "is", "a", + "fridge", "from", "the", "right", "perspective", "an", "upset", "carriage", "is", "a", "stitch", "of", "the", "mind", "to", "be", "more", + "specific", "a", "temper", "is", "a", "pair", "from", "the", "right", "perspective", "authors", "often", "misinterpret", "the", "liquid", "as", + "a", "notchy", "baseball", "when", "in", "actuality", "it", "feels", "more", "like", "an", "unbarbed", "angle", "though", "we", "assume", "the", + "latter", "the", "first", "vagrom", "report", "is", "in", "its", "own", "way", "a", "tower", "we", "know", "that", "the", "octopus", "of", "a", + "cd", "becomes", "an", "unrent", "dahlia", "a", "reptant", "discussion's", "rest", "comes", "with", "it", "the", "thought", "that", "the", + "condemned", "syrup", "is", "a", "wish", "the", "drake", "of", "a", "wallaby", "becomes", "a", "sonant", "harp", "if", "this", "was", + "somewhat", "unclear", "spotty", "children", "show", "us", "how", "technicians", "can", "be", "jumps", "their", "honey", "was", "in", "this", + "moment", "an", "intime", "direction", "a", "ship", "is", "the", "lion", "of", "a", "hate", "they", "were", "lost", "without", "the", "croupous", + "jeep", "that", "composed", "their", "lily", "in", "modern", "times", "a", "butcher", "of", "the", "birth", "is", "assumed", "to", "be", "a", + "spiral", "bean", "those", "cowbells", "are", "nothing", "more", "than", "elements", "this", "could", "be", "or", "perhaps", "before", "stockings", + "thoughts", "were", "only", "opinions", "a", "coil", "of", "the", "exclamation", "is", "assumed", "to", "be", "a", "hurtless", "toy", "a", "board", + "is", "the", "cast", "of", "a", "religion", "in", "ancient", "times", "the", "first", "stinko", "sailboat", "is", "in", "its", "own", "way", "an", + "exchange", "few", "can", "name", "a", "tutti", "channel", "that", "isn't", "a", "footless", "operation", "extending", "this", "logic", "an", + "oatmeal", "is", "the", "rooster", "of", "a", "shake", "those", "step-sons", "are", "nothing", "more", "than", "matches" ]; \ No newline at end of file diff --git a/Typing Speed Check/scripts/script.js b/Typing Speed Check/scripts/script.js index 072ce578..53ee512c 100644 --- a/Typing Speed Check/scripts/script.js +++ b/Typing Speed Check/scripts/script.js @@ -12,10 +12,17 @@ timeLeft = maxTime, charIndex = mistakes = isTyping = 0; function loadParagraph() { - const ranIndex = Math.floor(Math.random() * paragraphs.length); + const randomWords = []; + for (let i = 0; i < 430; i = randomWords.length) { + const randomIndex = Math.floor(Math.random() * words.length); + words[randomIndex].split("").forEach(char => { + randomWords.push(char); + }); + randomWords.push(" "); + } typingText.innerHTML = ""; - paragraphs[ranIndex].split("").forEach(char => { - let span = `${char}` + randomWords.forEach(char => { + let span = `${char}`; typingText.innerHTML += span; }); typingText.querySelectorAll("span")[0].classList.add("active");