<p>這是一段文字,<span id="no-select">「這一段文字我不想要被使用選取」</span>,其餘的部分可以</p>
document.getElementById('no-select').addEventListener('selectstart', function (e) {
e.preventDefault();
});
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.