Since we haven't found an answer yet, I'd like to propose another possibility I recently ran across. The story is "Divide and Rule" (1939) by L. Sprague de Camp; it was anthologized in Cosmic Knights (1985), which is vol. 3 of the Isaac Asimov's Magical Worlds of Fantasy series.
In the story Earth has been conquered by alien invaders, who are referred to as "hoppers."
Something was coming down the road in long, parabolic leaps. He knew what that meant. With a grunt of annoyance he heaved himself out of the saddle. As the thing drew near he took the pipe out of his mouth and flipped his right arm up in salute.
The thing, which looked rather like a kangaroo wearing a football helmet, shot by without apparently looking at him. Sir Howard had heard of sad cases of people who had neglected to salute hoppers because they thought they weren't looking at them. He felt no particular resentment at having to salute the creature. After all, he'd been doing it all his life.
Cars are also forbidden to humans, which is why the protagonist, despite being ennobled, is riding a horse.
Sir Howard wondered--as had many others--what it would be like to travel in a power vehicle. Of course there was an easy way to find out: just break a hopper law. Unfortunately, the ride received in that way was a strictly one-way affair.
One difference is that electricity isn't completely forbidden, just dangerous to research. The protagonist's friend, Lord Peekskill, is doing some experimenting with electric lights:
[...]we've been having a little argument about my electric-light plant. He says it ruins his radio reception.
But the Sir Howard's brother is executed for the crime of research:
"Why...what's the matter Howard? Something wrong? Your father?"
"No. My brother Frank. The hoppers arrested him last night. He was tried this morning, condemned, and burned this afternoon.
"The charge was scientific research."