You can buy cord covers for them.... Or bitter spray. Truthfully, I unplug everything, and when I use the computor I am always watching for Suzi. I have been teaching her to stay away, so has my son.
These little guys learn quickly. You can also keep your puppy in a crate, or pen, when you are unable to supervise. OR keep him in a different room, or the computor.