I can not reproduce any of the behaviour you describe, so this post will be a bit more theoretical in nature.
The ability that you are perplexed by seems to be the ability to recognice the source of a HTTP request even when a VPN is used and a no-features user agent like CURL is used. That would indeed be perplexing.
The super cookies or fingerprinting methods we know of all relies on some kind of feature (like HSTS, Flash, or JavaScript to report screen size or installed fonts). CURL does not support any of those featers, it does not even parse the response for you. So still being able to identify the user would indeed be magic, or at the very least a sign of a faulty VPN.
However, the test you describe in your question does not demonstrate the proposed ability. There are a large number of alternative explanations that you have not yet ruled out. Just to name a few:
- The IP of well known VPN:s are listed and blocked.
- The IP of the VPN is in a blocked geolocation.
- The button is activated by JavaScript, that CURL will not run.
- The behaviour is just random.
The test I would do would be to use CURL (with the exact same request) and a VPN for both the first and second attempt, but with different exit nodes, i.e. different IP's. If repeated tests of that kind shoved that some kind of super cookie worked I would indeed be perplexed, but not until then.
if (wlang != "zh_CN")
. Which (apart from being bad JS since it should be using!==
) curl will never execute the contents of.