Disabling text highlighting on a webpage

  • Thread starter Thread starter Don Dean
  • Start date Start date
D

Don Dean

I was recently on a website where if you held down the left mouse and would
drag the mouse, it would not highlight the text so you could not perform a
copy and then later paste the text.
Also if you did a right click of the mouse and clicked on "Select All",
again, nothing on the page was highlighted.

Of course, got around this by viewing the source and could copy the text
that way, although had to delete out the html characters.

Was curious how do you do this disabling of the mouse buttons.
Is it a function of the HTML on the web page?
 
Done with JavaScript, often in the body tag, disabling mouse events
- your view source would give you the code

As you indicated doesn't stop the educated
- and frustrates the other users

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I was recently on a website where if you held down the left mouse and would
| drag the mouse, it would not highlight the text so you could not perform a
| copy and then later paste the text.
| Also if you did a right click of the mouse and clicked on "Select All",
| again, nothing on the page was highlighted.
|
| Of course, got around this by viewing the source and could copy the text
| that way, although had to delete out the html characters.
|
| Was curious how do you do this disabling of the mouse buttons.
| Is it a function of the HTML on the web page?
| --
| Don
| ****
 
Back
Top