Is there any way to pop up new window on swipe event, like on click?
Browser's bockers for some browsers blocking it. So far I tried to trigger click event on swipe, tried to delay pop up, tried to use e.preventDefault(), tried to window.document.write(htmlcontent), so far nothing really helped.
The swipe falls into iframe and returns the event, by which pop up is called. So unfortunately for me it is direct interaction of user, but it doesn't register as one. So generally is there any way to avoid pop up blocker if the interaction is not direct?
The message returned with postmessage, the message is true or false. If true at the touchend pop up window suppose to appear with sign in fields.
Couldn't edit the original questions, though here is a code snipped for you: no pop-up blocking apeared, though even if you aprove pop-up the browser ignores.
document.addEventListener('touchmove',e => {
window.open("https://stackoverflow.com/questions/71914104/pop-up-on-swipe")
})
Note: Touch Devices only