« WOW What Happened! | Main | I got dugg on Digg.com »

Who Can See What is on your clipboard if you use Internet Explorer?

Many people frequently use Ctrl+C to copy information from one application to another. I have been brushing up on my programming skills and while doing so I found out how easy it is to view information from the clipboard from someone’s computer who uses Internet Explorer (It doesn’t work in FireFox but I am not sure about other browsers).

Do you want to see how easy it is for a website to view the information on your clipboard?

Then follow these steps:

1. Highlight any text and press Ctrl+C.

2. Now click on the following link to see the copied text.

http://www.jerryandmissy.com/work/clipboard.htm

This is all possible with one line of code that can be written using Java script.

The code is:
document.getElementById("textbox").innerText =
window.clipboardData.getData("Text");

To stop this from happening to you in IE:

1. Go to Tools -> Internet Options -> Security

2. Click on the Custom Level Security Setting and uncheck the option "Allow Paste Operations via Script.”

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)