The internet is global. Any website can by default be accessed from any country. Are you proposing that anyone with a website is subject to the laws of every country? Notice that this is impossible to do; the laws of different countries will require mutually exclusive things.
> It's under the same principle that Megaupload was shut down by the US, despite the company was not connected to the US or operating from the US.
You're citing an extremely controversial practice to justify the same. The question is what should be the case and is reasonable, not what some country has managed to get away with through some questionable shenanigans or might makes right.
> At least to show: "we tried our best".
This is just a fig leaf. IP location services are notoriously unreliable and trivially bypassed. Anybody in any location can choose the IP address they make a request from. Also, fragmenting the internet in this way is poison and should be discouraged as a matter of policy. You're effectively asking websites to block foreign countries by default because they don't have the resources to hire a lawyer for every country that exists to see how to comply with their laws.