Disable Right Click |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Web Design & Development Client Side Scripting JavaScript |
||
![]() |
Disable Right Click |
||
Jun 3 2008, 06:43 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 11-November 07 Member No.: 2,727 |
I need the code for disabling right click, on a site. I seen some sites use this i am not sure if its js but if it is can you tell me the code. If not can you tell me what language and where to maybe find it. Thanks
|
|
|
Jun 4 2008, 05:01 AM
Post
#2
|
|
![]() Hosting Abuse Staff ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 2,933 Joined: 14-February 08 From: Fort Myers FL, USA Member No.: 10,089 |
Well it's definitely javascript. But just so you know, most of the right click disable scripts don't work, since most people can just disable the javascript or use other workarounds. Like for instance if I click view source, I can just take the image or text or whatever your trying to block from being taken. I can also make a screen shot of your page and just cut the image out if I really wanted it.
But either way if your still not discouraged from using it, this site, http://www.dynamicdrive.com/dynamicindex9/index.html has a couple on it. The first three are right click disabling scripts. |
|
|
Jun 4 2008, 12:15 PM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 11-November 07 Member No.: 2,727 |
I need the code for disabling right click, on a site. I seen some sites use this i am not sure if its js but if it is can you tell me the code. If not can you tell me what language and where to maybe find it. Thanks yeah i knew there were ways around it, just wanted the mechanics and the know how. Not everyone knows the way around it too |
|
|
Jun 4 2008, 12:24 PM
Post
#4
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 5,140 Joined: 11-May 08 From: Australia Member No.: 25,876 |
Are you looking to secure your content? What sort of content if so? There are more options you can use.
Jacob. |
|
|
Jun 4 2008, 02:49 PM
Post
#5
|
|
![]() Super Ninja ![]() ![]() ![]() ![]() Group: Members Posts: 307 Joined: 25-August 07 From: Berlin, NJ Member No.: 19 |
Pretty much any site that uses javascript to prevent right clicking doesn't have any content worth stealing in the first place.
|
|
|
Jun 4 2008, 03:15 PM
Post
#6
|
|
![]() Super Ninja ![]() ![]() ![]() ![]() Group: Members Posts: 313 Joined: 12-December 07 From: Glendale CA Member No.: 4,714 |
lol bezz, That may be true but you dont know about his yet.
|
|
|
Jun 4 2008, 03:34 PM
Post
#7
|
|
![]() Super Ninja ![]() ![]() ![]() ![]() Group: Members Posts: 307 Joined: 25-August 07 From: Berlin, NJ Member No.: 19 |
|
|
|
Jun 13 2008, 10:13 AM
Post
#8
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,196 Joined: 19-September 07 Member No.: 234 |
Bezz made me laugh really hard, i am taking his side on this.
I think if you go to many many sites where there are protected contents, or just really good infos or what ever.. good images, they even them do not put any protections. But again i also admit when i ever want to get an image from a sit and the right clic is disabled it pisses me opff a little coz i have to work around it. I think you can't really protect your stuff inside a website nowadays but you can try pissing off the guy that does. |
|
|
Jun 13 2008, 10:37 AM
Post
#9
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 5,140 Joined: 11-May 08 From: Australia Member No.: 25,876 |
Haha. Good work bezz.
Jacob. |
|
|
Jun 13 2008, 12:05 PM
Post
#10
|
|
|
Member ![]() ![]() Group: Members Posts: 58 Joined: 1-May 08 Member No.: 23,512 |
I've seen a ridiculous method of protection for html (Yes, really!)
All it was, were hundreds of line returns at the beginning of the page and hoping anyone viewing the page would not scroll down! |
|
|
Jun 14 2008, 09:30 PM
Post
#11
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,196 Joined: 19-September 07 Member No.: 234 |
a friend of mine made a simple script, its ALERTs that pops up which you can never close until the end (or ctrl+alt+del but not many people know it) there was around 500 popups, so each time you clicked OK an other one showed up and no way to go off the page, im sure it can be altered so you get these popups once your right click... but shame for the one the does not do it in purpose
|
|
|
Jun 15 2008, 04:26 AM
Post
#12
|
|
![]() PHP Programmer ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 895 Joined: 9-March 08 From: Naples, FL Member No.: 13,296 |
Okay... For constructive criticism...
Google it for "javascript right click disable" or something similar.. But.. DONT DO IT.. For one main reason. IT'S POINTLESS! Anybody who wants to steal your text content will just highlight it and press ctrl+C.. That copy's it. Anybody who wants to steal your image content can just hit print screen and go to MSPaint and paste it in there, crop the image they want to steal out and it's theirs. It's just pointless and very annoying as some people may want to copy and paste things to their friends, ect and that will turn them off of your site. EDIT: Just realized trippin already said all of this. |
|
|
Jun 15 2008, 05:36 PM
Post
#13
|
|
![]() Hosting Abuse Staff ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 2,933 Joined: 14-February 08 From: Fort Myers FL, USA Member No.: 10,089 |
It's okay creactive, I don't think anyone saw my post.
|
|
|
Jun 15 2008, 06:20 PM
Post
#14
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,196 Joined: 19-September 07 Member No.: 234 |
i did
|
|
|
Jul 16 2008, 02:18 AM
Post
#15
|
|
![]() Newbie ![]() Group: Members Posts: 13 Joined: 13-June 08 Member No.: 35,462 |
There is a way to stop people from stealing images but someone is good they can get around that to. There some options you do to help prevent it.
You can hide your coding and/or make transparent images for roll overs but like before there is no sure way to stop people from stealing. But only hope they don't or ask them to give credit to you or copyright them. |
|
|
Jul 16 2008, 02:51 AM
Post
#16
|
|
![]() Ninja ![]() ![]() ![]() Group: Members Posts: 107 Joined: 8-July 08 Member No.: 44,158 |
What are you trying to protect? Text can be put in Flash or protected PDFs/FlashPaper. Images can be watermarked and/or compressed.
Disabling right clicking is somewhat effective in that those who know how to get around it are more likely to know about copyright and more likely to respect it. On the other hand, it pisses off many users who use the right click for legitimate reasons, especially for my mouse gestures! |
|
|
![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 25th May 2013 - 04:48 AM |