检测 postMessage