Teaching at Stanford Splash!
Today I taught M4160: Hacking the Internet at Stanford Splash! I introduced the class to the basics of web development through “hacks” that exploited the DOM, event listeners, and the persistence of chrome extensions. To make it as accessible as possible to high schoolers, the course assumed minimal previous coding experience.
We built two of my sketchier chrome extensions.
- Replacer A chrome extension that replaces all instances of one string like “Harry” with another string like “Hairy” in the DOM. I surreptitiously installed this chrome extension on my friend’s machine on April Fool’s Day last year, which produced what some would call hairy results.
- Snooper A chrome extension that listens to users type their Gmail passwords and sends the result to a server.
In the course material, I also included the anecdote about beating the Cookie Clicker game in a few minutes that my cousin had been playing for weeks.