Prevent swiping between web pages in iPad Safari

后端 未结 6 1056
执念已碎
执念已碎 2020-12-30 04:30

Swiping from the left and right edges of my iPad\'s Safari browser, moves between the currently open web pages. Is there any way to prevent it?

I have tried to add <

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-30 05:12

    Try this in the tag:

    onload='ontouchmove()="return(function(event) { event.preventDefault(); event.stopPropagation(); return(false); } );"'
    

    I imagine there might be some side effects by not letting IOS know about moving but for SPW they're probably slight.

提交回复
热议问题