Step 1: Safety warnings
Leave *everything* to the experts and only the experts with the most advanced degrees from the most expensive institutions. The rest of us should just wait in line for whatever they tell us is safe to do.
It might even be good to never leave your house. Don't drive a car or do anything silly like walk down the street. Don't try to do anything yourself because who knows what could happen.
You have been warned!
Step 2: Actual safety warning
I'm not recommending that somebody out there actually make this. I just think it would be a good product and I would probably possibly buy one if it was available. But because I don't know enough about codes and UL listings and all those things that are required for a product to become safe and even if I could do all those things, how could I protect myself from liability. I don't know. This is how I made it. I'm not recommending that anybody make it unless you are an expert in electronics or something, which I am not.
Step 3: Materials used
white posterboard (50 cents from Dollar Tree)
hot melt glue
1 electrical outlet receptacle 10 cents at Habitat for Humanity
1 wall switch 10 cents " " " "
1 spare white electrical cord. Salvaged from an old coffee maker I had.
a means of cutting intricate shapes in paper. I used a hacked Cricut.
Step 4: The box pattern
Step 5: The circuit
Step 6: The construction
Assemble the box which will hold and hide away the majority of the excess lamp cord.
Coat everything possible with electrical tape.
make sure no exposed metal or wires can be touched by any one.
glue the parts in place and close it up.
leave an opening in the back so you can plug the lamp cord into it.