javascript - How to close browser tab -
i not able close current browser tab using javascript.
i tried-
    window.close(); //1      window.open("", '_self');//2     settimeout(function(){         window.close();     },100);      window.open('','_parent',''); //3     window.close();      window.top.opener=null; //4     window.close(); nothing working me in chrome
window.close method allowed called windows opened script using window.open method.
Comments
Post a Comment