document.onkeydown = function(event) {
if (event.shiftKey) {
document.onselectstart = function(event) {
return false;
}
} else {
document.onselectstart = function(event) {
return true;
}
}
}

document.onkeyup = function(event) {
document.onselectstart = function(event) {
return true;
}
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
  • 2021-09-24
  • 2021-08-26
  • 2022-03-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2022-01-01
  • 2021-06-07
  • 2021-06-05
  • 2021-06-07
相关资源
相似解决方案