update mechanism

add 2 global variable to judge tudou's crossdomain request