谷歌弹窗兼容性

3,对于兼容性的处理:
var explorer = window.navigator.userAgent;
if (explorer.indexOf("Chrome") >= 0 || explorer.indexOf("Opera") >= 0) {
window.opener.window.chromeRetValue(Year, Month);
window.close();
}
else {
window.returnValue = Year + "|" + Month;*/

111111
原文地址:https://www.cnblogs.com/whl4835349/p/5670159.html