Disable Right Click using jquery(www.aspxtutorial.com)

submitted by composemecomposeme(919) 1 year, 7 months ago

There is one line of code in jQuery as compare to java script code

2 comments |category: |Views: 14

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by threenine39threenine39(329) 1 year, 7 months ago 0

It is such a pointless endeavour disabling the right click. If people want your images are view your code they will get it no matter what. By disabling right click to prevent people from opening links in a new tab is just pointless, makes your site less user friendly and may lose you customers in the long run.

You should probably read this article for more background info

http://articles.sitepoint.com/article/dont-disable-right-click

Reply

posted by sdormansdorman(1415) replied to threenine39threenine39(329), 1 year, 7 months ago +1

At one point (granted that was a while ago) it was very popular to do this. The idea behind doing this, generally, is to protect images and/or HTML from being downloaded. There are, as the site you point to indicates, other ways to do this that are better and less frustrating to users.

Reply

information Login or create an account to comment on this story