如题,关闭的时候js会报错误
Scripts may close only the windows that were opened by it.
试过
window.opener=null;
window.open('','_self');
window.close();
or
window.opener=null;
window.open('','_self', '');
window.close();
or
open(location,'_self', ' '); //这里有设置个弹窗, 会无限弹窗。
望大神赐教