I have to be honest, I'm surprised this is seemingly such a rare thing in the tech industry. I mean, in the various (admittedly small) companies I worked for as a web developer, I never had anyone worry about what I was doing outside of work hours. Heck in most cases they explicitly said I could do what I wanted outside of work and that if it made money... well good for me I guess.
But hey, they were small companies. Usually with a total staff count until 20. Guess it must be totally different at a multi national corporation with an actual legal team on call and what not.
This was the opposite for my anecdotal experience. All the small companies (20-200 people) wanted to own everything you produced. Even on your personal off hours time.
The larger companies I worked for didn't care so long as it doesn't directly compete with the flagship product.
But hey, they were small companies. Usually with a total staff count until 20. Guess it must be totally different at a multi national corporation with an actual legal team on call and what not.