Does anyone know of a script, in perl, php, or asp that makes it so that you can't right click on the website. I found it in javascript, but i wanted it in it.
thanks.
Does anyone know of a script, in perl, php, or asp that makes it so that you can't right click on the website. I found it in javascript, but i wanted it in it.
thanks.
Megan posted this at 04:31 — 17th March 2002.
She has: 10,288 posts
Joined: Jun 1999
Someone will correct me if I'm wrong but I don't think you can do this with PHP or ASP - those are server-side languages and therefore can't be used to manipulate what happens with the browser. Only client-side languages can do that.
I hope you had a good reason for wanting to use one of these
Megan
My web design blog
Brykess posted this at 04:38 — 17th March 2002.
They have: 50 posts
Joined: Aug 2001
i didn't know, i just threw out some names.
the reason i want a script like this is because people have been linking up my art works to their sites and stealing my designs. I just want to prevent this.
Busy posted this at 08:24 — 17th March 2002.
He has: 6,157 posts
Joined: May 2001
no right click doesnt work, there are many ways around them, the easiest is from the tool bar
if you want to stop people linking to your images, set up the properties in a .htaccess file to deny outside linkage (can be set to show default image which you can set to something like "this image wrongfully linked from ..")
if you want to limit the taking of your images, use watermarks etc on your images. NOTE I did say limit, as watermarks can also be gotten around. or better yet slice up your images and display the section in a table
<?bhb if(broken){ echo("It wasn't me
"); } ?>
Learn HTML the ez way - EzHTML.net
Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...
mairving posted this at 12:29 — 17th March 2002.
They have: 2,256 posts
Joined: Feb 2001
You would have to use javascript as it is a client-side language. Still it is an annoyance and a waste of time to use.
Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states
Brykess posted this at 22:16 — 17th March 2002.
They have: 50 posts
Joined: Aug 2001
Ok, thanks for you help.