Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5744
  • Last Modified:

Disable highlight and drag...

Hi guys,

How can I disable the highlight and drag option? What I am asking is how can I prevent someone from highlighting text
on a page and then dragging that text into another program?

Sincerely,
Brandon
0
brandonpowell
Asked:
brandonpowell
  • 3
1 Solution
 
ZvonkoSystems architectCommented:
Like this:

<body ondragstart="return false">

0
 
ZvonkoSystems architectCommented:
Sorry, better is this:


<body onselectstart="return false">

0
 
apprentiCommented:
Ensure that only M$IE is installed, find a way of disabling Tools, and cross your fingers.
0
 
brandonpowellAuthor Commented:
Thanks so much for your help...

Sincerely,
Brandon
0
 
ZvonkoSystems architectCommented:
You are welcome.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now