When working on the word replace functionality that looks to see if a word is in the dictionary and replaces said word, the program cannot currently do so. In my forked directory in the content.js file, the current functionality only uses the result of a JSON.parse and not the dictionary that is currently commented out.
Goal is to see if word being is in dictionary (dictionary key is the spoiler word), if so, replace word. Previous attempts could not get program to detect word that is key.
When working on the word replace functionality that looks to see if a word is in the dictionary and replaces said word, the program cannot currently do so. In my forked directory in the content.js file, the current functionality only uses the result of a JSON.parse and not the dictionary that is currently commented out.
Goal is to see if word being is in dictionary (dictionary key is the spoiler word), if so, replace word. Previous attempts could not get program to detect word that is key.