Nov 23, 2009

Javascript Keyevents ? - keystroke in javascript by which we can restrict the user.

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Programming General

Javascript Keyevents ? - keystroke in javascript by which we can restrict the user.

veerumits

javascript keyevents ???????????

friends i have used a good technique on my webpage to restrict user that they can not right-clik on my webpage.but now i want to restrict the user that they also can not use ctrl+a , ctrl+c ,is there any simple way which can solve my problem , because i think this type of techinque are very popular now a days on every website if u have any solution then plz send me respone . but the code should be simple to understatn.

Comment/Reply (w/o sign-up)

Quatrux
If you want a good suggestion: please avoid doing this kind of things, why wouldn't you let people to right click with mouse and wouldn't allow them to copy the whole content? I know that you don't want to show them your html source, don't want your content to be stolen and used elsewhere, but if you don't want that, when keep it for yourself I guess, why would you want to publish it then?

I know that when the first websites appeared, they were quite simple, just simple html tags, people wouldn't even care about somebody looking at the source, maybe they should have done something in the beginning by thinking that the future of html will be much more complicated and people will have their own design, but as I said, stay with my suggestion about not worrying about this kind of things, if the browser can show the source, that means that the guy who is using the browser also can see the source one or another way!

Be happy, that noone can take your server side scripting/programming code like asp, php.. smile.gif

 

 

 


Comment/Reply (w/o sign-up)

khalilov
There is no perfect security against people copying stuff from your site, so i suggest not to even bother. The best and most professional flash game sites have their contests stolen by simply entering media in tools of firefox and downloading the flash game.
In other words, make it too easy they won't bother. Make it hard some might take it as a challange wink.gif

Comment/Reply (w/o sign-up)

Darasen
This is another one of those questions that gets asked a lot. The answer is always the same that there really isn;t a way to completely prevent some one from right clicking or the like. Frankly I use Firefox with a script blocker and if a page can not work with out scripts than I do not bother with it normally. So if you wish to drive visitors AWAY from your site then go right ahead.

Secondly I always have to ask myself why?Ask yourself: Is your site really so unique that everyone who visits is going to want to copy it, Really? Is your code that amazing? Consider that you can freely look at the code for Linus or the Kernel of Mac OS X. Is yours really that far above theirs?

If it is images you are trying to protect don't bother. I know artist that work for Marvel, ILM, Blizzard, and numerous other places. They freely post images they have created (www.conceptart.org) with this kind of silliness.

Really, there is no reason.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)


See Also,

*SIMILAR VIDEOS*
Searching Video's for javascript, keyevents, keystroke, javascript, restrict, user,
advertisement



Javascript Keyevents ? - keystroke in javascript by which we can restrict the user.

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com