If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

There's 2 main ways I thought of doing this: having some script execute once the window loads or having an event fire when a user tries to paste. The example below illustrates both. The only thing to keep in mind is that for the script in window.onload, onpaste will not disable pasting if it is equal to false, it needs to be equal to a function, even if that function only returns false.

thanks for the reply
i think u may have misunderstood my question
i am trying to paste where the website has taken action to stop pasting (for one field only)

So you want to edit their javascript so you can paste when they're preventing it? You could use Greasemonkey for that or you could look at their client-side source code. Personally, I wouldn't bother doing it as I'd just type it again and save myself the hassle, unless you're doing this to learn about JavaScript.

Well, I don't want to edit their java script as such...
I just want to disable for one field only
They have the java script there for good reasons I imagine
But for me it's a massive pain as I have to manually type in the field again and again

There is supposed to be a script for grease monkey that does the job. Where I can choose to disable just one page of a specific site. That's great. Except the website doesn't seem to exist