|
-
Dec 14th, 2008, 08:37 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] right click
how can i disable right click on my project so no-one can right click and copy or view source, but i know many people know shortcuts, but not everyone does... it would block someone.
-
Dec 14th, 2008, 09:51 AM
#2
Re: right click
This really won't stop anyone, FYI.
In IE7 it will prompt the user if they want to allow the script to run.
It doesn't work in Fx or Opera.
And as you said, anyone can go View -> Source to view anything they want and they can also print screen and crop out whatever they need.
With that being said, here is a script that will disable it in IE if they allow the script to run.
http://javascript.internet.com/page-...ght-click.html
-
Dec 15th, 2008, 05:52 AM
#3
Thread Starter
Fanatic Member
Re: right click
if they must allow it, then it wouldnt be useful.. well anyways, thanks for your help.
-
Feb 2nd, 2009, 10:37 AM
#4
Fanatic Member
Re: [RESOLVED] right click
As Kfcsmitty said,
Its impossible to hide your source code.
Most browsers have a "View Source" option built into them.
The only way to hide it successfully, is to encrypt the code. I've never used it, but ZEND (php) encrypts it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|