This code is working in most android/chrome mobile browsers:
document.body.addEventListener('touchend', function (e) {
//alert(1);
window.open("http://test.com");
}, false)
But it is not working in iOS/Safari (tested with iPhone OS 9_2, AppleWebKit 601.1.46, Safari/601.1).
Is there any workaround to show a new window/tab with this event?
"alert(1)"
is working fine, so i suppose the event is firing normally.
Thank you.