Answers for "open link in new tab with javascript then close it"

39

javascript open link in new tab

function NewTab() { 
            window.open( 
              "https://www.yourURL.com", "_blank");
}
Posted by: Guest on November-18-2019
1

JS open window in new tab

window.open('page.html', '_newtab');
Posted by: Guest on March-17-2022

Code answers related to "open link in new tab with javascript then close it"

Code answers related to "Javascript"

Browse Popular Code Answers by Language