Main
Home
Contact Staff
Request
Graphics Directory

Site
Updates Archive
Previous Requests
History
FAQ
Terms
Previous Layouts
Staff
Affiliates
Credits
Link Back

Graphics
Avatars
Banners
MS Paint
Posters
Textures
Transparencies
Wallpapers
Miscellaneous

Drifting Designs Tutorials > > Coding > > JavaScript > > Disabling Right-Clicking




Disabling Right-Clicking is used to keep people from right clicking on your stuff to 1) either steal your images, or 2) steal your source code. Here's a code to prevent right-clicking for the entire page-

1) Insert this into the head part of your page -




That's it! If you want to see an example of a page that disables hot-linking, click here.
Layouts
Div Layouts
Frames Layouts
Pop-Up Layouts
Table Layouts

Neopets
Shop Signs
Guild Layouts
Full Page Layouts
Miscellanous

Tutorials
Coding
Graphics
Other

Hosted
Hosted by: