English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I need to disable right clicking on a webpage, but I don't want to use Java or anyother language besides HTML. Does anyone know the code to do this?

2007-04-05 17:51:14 · 6 answers · asked by Vincent 2 in Computers & Internet Programming & Design

6 answers

It can't be done in plain HTML.

You could configure the web server to reject any web clients that support right clicking, but you would be limiting your site to those that are using the text based browsers, links, lynx, and w3c.

2007-04-05 17:56:44 · answer #1 · answered by Vegan 7 · 0 0

Most script that I've seen are inneffective. I find them funny. They disable right clicking, but in IE7 "View Source" is still visable on the page menu. They also tend to fail in Firefox.

If you are trying to keep your code secret or pictures from being lifted -- it is impossible. Just click save on the Page menu in IE and you can save all the code and pictures on your desktop. The HTML page can be opened with notepad showing all the code and the pictures will be in a folder.

2007-04-05 18:50:25 · answer #2 · answered by LorettoBoy 4 · 0 0

The probleom that has occurd on your yputube participant probleom is for the reason which you do not have the flash participant maximum hy tech one or perhaps no longer maximum eighty 5% risk that its no longer your computers fault it's going to be because of the fact they are upgrating and the server is down dont worry comparable element happend my computing gadget merely restart the computing gadget wait like 2-3 days for youtube wish i will help =]

2016-10-21 04:08:24 · answer #3 · answered by Anonymous · 0 0

You can't do it without using programming languages. For the easiest way, try to add this simple javascript attribute to your tag

2007-04-05 18:00:55 · answer #4 · answered by Anonymous · 1 0

1. put site into a layer or seperate file then when someone right clicks, they can't see the code.

2. deal w/ java

simple code, used it for yrs, just dump it in the head


2007-04-05 17:55:23 · answer #5 · answered by Anonymous · 0 0

nope can't do it...only java script...sorry

// //

2007-04-05 17:56:31 · answer #6 · answered by jeff_elsten 3 · 0 0

fedest.com, questions and answers