#javascript #tip:
How to fix window.open(url) opening two tabs
window.open(‘url’) may open double tabs when clicked in IE/FF/etc. Google Chrome is superior and is the first one to bring the latest updates from the W3C announcements, in my opinion! Browsers may behave differently for “window” functions.
Prefix “javascript:” for getting standard implementation output.
use javascript:window:open(‘url’) instead
![](https://i2.wp.com/devsdaily.com/wp-content/uploads/2019/11/two-tabs-with-window-open.png?fit=1024%2C499&ssl=1)