In the future, I imagine almost every site will use HTTPS—maybe browsers will even refuse to connect over plain HTTP. Then this kind of attack won't be possible.
I'm sure that there will be free proxies that "require you to install this program" (which also installs a certificate) to work. But yeah, it helps for e.g. the middle schoolers who don't have admin rights on the computers anyway.
This is called "learning experience". How children are supposed to not think of computers as magic boxes if they're prohibited from doing anything interesting on it (and that very much includes breaking them and fixing by themselves)? Restoring the machines back to original state should be a trivial task for whoever is responsible for the computer room.