disable text selection in js

Solutions on MaxInterview for disable text selection in js by the best coders in the world

showing results for - "disable text selection in js"
Bryan
19 Nov 2019
1onselectstart = (e) => {
2  e.preventDefault()
3  console.log("nope!")
4  }