I have a webpage which should run as a native app in windows so i have to disabled all browser stuff like text selection etc.
I managed to disable the text selection in a normal device like this:
$("body, html").mousedown(function (event) {
event.preventDefault();
});
But when i run that website in a touch screen device and i long press the text it still select it.
How can i disable the text selection even on touch devices?