Website testing on the Chinese network

I received reports from a client stating that our website has problems working in China. The code is installed on an Apache server in China and is considered as users in China. I use the same code and have no problem here (in the UK), and no other client has reported this problem (worldwide). It seems that the error is related to Javascript. I have been given RDP access to a machine in China and you may see this error, but due to speed limitations and access problems, I cannot install any developer tools to debug the problem.

Is there a way to access the intruder site from my machine by releasing the Chinese IP address?

I think this is the opposite of what people in China are doing to get around China’s big firewall.

thank

+5
source share
1 answer

I can guess the problem from what you said. if your javascript uploaded some js file from twitter, facebook sites that were blocked in China and the download happens synchronously, for example

<script type="text/javascript" src="blocked.site/a.js"></script>
<script type="text/javascript" src="userful.js"></script>

your userful.js will not be loaded.

To debug this, just browse the web console in Chrome, IE, Opera, no additional software required.

To fix this, change the js boot in a non-blocking way or make a modified version for china clients.

0
source

All Articles