window.location.href another tab
window.open(
'https://support.wwf.org.uk/earth_hour/index.php?type=individual',
'_blank' // <- This is what makes it open in a new window.
);
Are there any code examples left?
New code examples in category Other