closes the window if perticular url found in window.open code example Example: window open method for browser detection browser detection and version dectaction in js