How does Youtube know I'm using touch input and how can I pretend it's not touch?

by TouchyTube   Last Updated August 29, 2018 23:03 PM

If you go on on a windows touch device, you will see the following behaviour: If you long press onto a video, instead of getting the option to open in a new tab and the usual stuff, the video will instead just open. I assume this is made with some kind of touchEnd listener. But how can I prevent this from taking place? I don't want the video to open when I long press it, but I can't find a way to disable this.

I have a bit of experience with JS and HTML, so I technically could try to write a chrome extension to help me with this, I just don't know how to get started, or where the issue originates from.

Related Questions

Youtube stutters in Chrome but plays fine in Edge

Updated October 23, 2016 09:01 AM

YouTube videos reload when I replay them?

Updated June 04, 2017 01:03 AM