diff --git a/content.js b/content.js index 8f4e83ea6788db95adb1f3e6fbb340f5a8e86b15..84ffdacc15f9e8b9ca4217a242d91e166a8ee1ac 100644 --- a/content.js +++ b/content.js @@ -113,10 +113,10 @@ let Content = { console_command: { instructions: "This time the area on the left does not have any visible content. However, this exercise defines a JavaScript function that can grant you points. Your task is to use the browser console to call the function like this: <code>giveMePoints();</code>", - html: '<div id="events"><p>First, make sure that your browser <em>console</em> is open and it has the <em>top</em> JavaScript context selected (dropdown selection in Chrome). Then, type in the command given in instruction.</p></div>', + html: '<div id="events"><p>First, make sure that your browser <em>console</em> is open and it has the <em>console_command</em> JavaScript context selected. Then, type in the command given in instruction.</p></div>', script: function giveMePoints() { window.postMessage("grade"); - return "Granting points my lord!"; + return "There you go!"; }, selector: "$window", events: "message",