Unplug the computer from the internet, hand the kid a UNIX manual, and
suck all joy from computing.
Having a working browser teach you programming is like having an android in the form of Kelly LeBrock teach you robotics. You're gonna want to do things to it that engage your little brain.