A line of code that closes the parent window in a child window
- 2020-03-26 21:34:16
- OfStack
window.opener.opener=null; This sentence must , Otherwise it will pop up a close prompt .
window.opener.close();
window.opener.opener=null; This sentence must , Otherwise it will pop up a close prompt .
window.opener.close();