Hello
Mac safari open a URL in new tab/window using javascript
i have search many in but i can not get anything. one of my friend give me this code
let a= document.createElement('a');
a.target= '_blank';
a.href= 'https://example.com/';
a.click();
No comments:
Post a Comment
Thank You For Comment