disable right click on website? |
Author: |
Message: |
DJKAL
Senior Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](images/avatars/removed/dimensions.png)
Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. disable right click on website?
is it possable (and if so how to code it?) to stop webpage veiwers being able to right click?
i'm sure i've seen it done before on several websites to stop yo being able to save pictures and/or to stop you veiwing the page source etc...
please help ![:)](images/smilies/msn_happy.gif)
"You don't sleep, you defragment!"
|
|
04-18-2006 12:35 PM |
|
![](images/pixel.gif) |
user35870
Disabled Account
Posts: 857
Joined: Aug 2004
Status: Away
|
|
04-18-2006 12:39 PM |
|
![](images/pixel.gif) |
DJKAL
Senior Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](images/avatars/removed/dimensions.png)
Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: disable right click on website?
it is mainly to stop people vewing the page source. as my mate will "steal" the codes and i just want to see his reaction when he cant
thanks for the link ![:)](images/smilies/msn_happy.gif)
"You don't sleep, you defragment!"
|
|
04-18-2006 12:41 PM |
|
![](images/pixel.gif) |
Chestah
Veteran Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](avatar.php?uid=33171-12357)
Posts: 1653 Reputation: 34
36 / / –
Joined: Jun 2004
|
RE: disable right click on website?
Note this is completely pointless as users can get your pictures / anything they want by viewing the source code. Also, as you are disabling right click, you are breaking alot of expected functionality ![:S](images/smilies/msn_confused.gif) .
I don't recommend this.
|
|
04-18-2006 12:41 PM |
|
![](images/pixel.gif) |
DJKAL
Senior Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](images/avatars/removed/dimensions.png)
Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: disable right click on website?
noo, the pictures im not worried about really. but it's the source code that i want to stop them veiwing. and im pretty sure my mate only knows how to veiw it by right clickin (the way i taugt him)
"You don't sleep, you defragment!"
|
|
04-18-2006 12:43 PM |
|
![](images/pixel.gif) |
Chestah
Veteran Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](avatar.php?uid=33171-12357)
Posts: 1653 Reputation: 34
36 / / –
Joined: Jun 2004
|
RE: disable right click on website?
Whats wrong with them knowing the source code? What they see is what they see.. and anything that processes data etc (php) is hidden so they won't beable to see that ![:P](images/smilies/msn_tongue.gif) .
|
|
04-18-2006 12:45 PM |
|
![](images/pixel.gif) |
DJKAL
Senior Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](images/avatars/removed/dimensions.png)
Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: disable right click on website?
oooohhh yer, set an external CSS style sheet ...?
i suppose that could work, btu i think i showed him how to veiw them aswell, lol.
"You don't sleep, you defragment!"
|
|
04-18-2006 12:47 PM |
|
![](images/pixel.gif) |
Chestah
Veteran Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](avatar.php?uid=33171-12357)
Posts: 1653 Reputation: 34
36 / / –
Joined: Jun 2004
|
RE: disable right click on website?
|
|
04-18-2006 12:48 PM |
|
![](images/pixel.gif) |
stoshrocket
Senior Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](http://img36.imageshack.us/img36/852/dpvs.png)
formerly methos
Posts: 748 Reputation: 31
34 / / ![United Kingdom Flag](images/flags/gb.png)
Joined: Aug 2005
|
RE: disable right click on website?
dude, you cant stop people viewing your source code and you'll always get people that want to rip your code off if its decent, even if you do disable right click whats to stop me going to view -> page source?? ![(n)](images/smilies/msn_down.gif)
|
|
04-18-2006 12:54 PM |
|
![](images/pixel.gif) |
DJKAL
Senior Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](images/avatars/removed/dimensions.png)
Posts: 800 Reputation: 14
34 / / –
Joined: Oct 2005
|
O.P. RE: disable right click on website?
i just read that,
but i also read encrypting the page source ...?
"You don't sleep, you defragment!"
|
|
04-18-2006 12:55 PM |
|
![](images/pixel.gif) |
Pages: (3):
« First
[ 1 ]
2
3
»
Last »
|
|