Hi guys,
I've tried multiple solutions found online opening a new tab when a button is hit.
buyBtn.on('pointerdown', function (event){
openWindow(myurl);
}, this);
function openWindow(url) {
var result = window.open(url, "_blank")
}
function openWindow(url) {
document.getElementById('newlink').href = url;
document.getElementById('newlink').click();
}
function openWindow(url) {
window.location.assign(url);
}
This are some of them. All of these solutions work on other browsers, but not on Safari.
Does anyone have a working solution for Phaser3?
Thank you.