What century do you live in? It doesn't take thousands of people from immigration to find suspects who work online. If I need a source of income to, online or site in Thailand, my documents will show that I comply with Thai law. I don't understand that so many farangs are looking for loopholes in the laws all the time
You must apply from the country in which you reside. If you have a visa, the immigration police do not care if you fly from a neighboring country to your place of residence
Not so funny when the immigration police knock on the door. It has become much tougher, immigration reads what is written on Facebook and checks internet traffic. If they come to visit, one of the questions is where the money comes from for living etc