window open url blank code example
Example 1: open link in new tab javascript
window.open('https://www.codexworld.com', '_blank');
Example 2: code to launch browser using javascript
JavascriptContext.addJavascriptCall(FacesContext.getCurrentInstance(),
"window.open('printerFriendly.html','Print',,'width=300','height=200','menubar=yes',
'status=yes','location=yes','toolbar=yes','scrollbars=yes')");