This would allow them to perform MITM attacks against anyone who visits Chinese websites, even with HTTPS.
http://arstechnica.com/security/2015/04/google-chrome-will-b...
But if China chose to, they could simply require all Chinese websites to use government-issue certificates, forcing the world to choose between allowing Chinese MITM monitoring and losing access to China.
The more likely outcome of that gambit would just be that the CA would be restricted to .cn domains, possibly with some sort of install-on-demand warning.
http://www.netresec.com/?page=Blog&month=2015-03&post=China%...
That said, it would only matter if Baidu was doing something like serving the script only over HTTPS using HSTS which I imagine would incur a non-trivial backlash for them.
I'd also be surprised if they couldn't relatively easily move on to another similarly insecure script requested by many people outside of China.
A reasonable compromise, but one which wouldn't prevent MITM snooping or alteration of communications with Chinese websites, like this attack.
And to allow snooping of outgoing communications, the Chinese could also require that all browsers used in China trust the Chinese government CA without that restriction.
[1] http://en.wikipedia.org/wiki/DNS-based_Authentication_of_Nam...
Almost every app on my mac is trying to access some resource on the web, most of them over port 80 or a mix-and-match of both 80 and 443. And then the OS itself has a variety of services that does the same. My computer is like a beacon of light that shines it's position and personal information to everybody.
And it drives home the stupidity of sites which demand JavaScript to view even simple content which could just as well be static.