>Well, how would you be allowed to stay in China then?
Only work for a foreign company in China if they can get you a legitimate work visa, but for just working online from home an M visa is fine (at least this year, until they change the rules again).
Well, how would you be allowed to stay in China then?