WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Prevent Right Mouse steal your graphics
Categories : HTML, Java Script, Security Click here to Update Your Picture
eli n
Date : Oct 23rd 2004
Grade : 3 of 5 (graded 6 times)
Viewed : 10079
File : No file for this code example.
Images : No Images for this code example.
Search : More code by eli n
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

in your <body> tag add this Code:

oncontextmenu="return false;"

so it should look something like Code:

<body oncontextmenu="return false;">


simple, eh? I don't know why people go to all that trouble to add funky javascript popups and the like. hahahaha... it's annoying for one thing... and yes this works with mozilla too.

--

to prevent them to steal ur graphics... in your <img> tags... put:

galleryimg="no"

so it would be:
Code:

<img src="youpic.gif" galleryimg="no">



this is to prevent that image toolbar from popping up on IE6 when u mouseover ur images.



complete simply working javascript password generator file. Use letter, vowels, consonants (uppercase and lowercase) arrays to create a really random and secure password. improved security using time functions to initialize random number generator.
Categories : Java Script, HTML, Security, Authentication, Strings
showing Help (assistance) to the user while filling html forms.
Categories : HTML, Java Script, Form Processing
Conditional Check - a script that allows a user to submit a form only if the user check a checkbox.
Categories : HTML, Java Script, Form Processing, Beginner Guides
Enchancing dd/mm/yyyy forms with unobtrusive javascript
Categories : Java Script, HTML, User Interface, Date Time
How to create <SELECT> menues that change on the fly according to other <SELECT> menues on the page?
Categories : Java Script, HTML
A damaged image generator (class) for validating text. CAPTCHA - Completely Automated Public Turing test to tell Computers and Humans Apart
Categories : PHP, PHP Classes, Security, GD image library, Security
MD5 secured login
Categories : PHP, Java Script, Authentication, Security
Javascript linked dropdowns
Categories : Java Script, HTML, Classes and Objects
Javascript animated menu items
Categories : DHTML, CSS, Java Script, HTML
Builds JavaScript that updates the contents of one selector based on another.
Categories : HTML, Java Script, PHP, Complete Programs, General
Bouncing Marquee at Status Bar
Categories : Java Script, HTML, Browsers
Mordern Peroidic Table - Science
Categories : Java Script, HTML, Charts and Graphs
Why it is not possible to preset a value in a file upload field
Categories : HTML, Security, Filesystem, Beginner Guides
Function to generate readable/remeberable random password
Categories : PHP, Security, Security
Page Loading Message shown during the time your site's page is being loaded.
Categories : HTML, CSS, Java Script
 Erick Schluter wrote : 1215
I have tried the things you said and must say the `oncontextmenu` is working in Safari v. 1.2.3 but will not work in Internet Explorer 5.2.3 for the Mac. 

Also when I decide to `drag` the image to my desktop from within Safari  I can still take the image. And if all of this will not work I can always make a `screenshot`...

I have tried to solve these problems a while ago, but didn`t found a solution. Maybe it is because I am working on a Mac, and the Mac just doesn`t care about these securities and ignores them ?
 
 Boaz Yahav wrote : 1217
These defenses are for someone that does not know his browser. Going to Tools -&gt; Internet Options -&gt; Security -&gt; Custom Level and disabling Active Scripting will make these defenses useless in IE.

There are much more advanced and complicated ways to do this but you can`t ever take Print Screen away :)
 
 Erick Schluter wrote :1218
So the only thing would be copyrights and so..?