Deactivate right click - in internet explorer

Pages: 1, 2, 3, 4, 5
free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

Deactivate right click - in internet explorer

gonebutnotforgottensims
i cant get that code too work any 1 know why?

Reply

Becca
I hate it when people steal all your own work and writing and just paste it with out even editing it...but I aso hate putting a disable right click code, so it's bad both ways....and this annoys me...


Heres another code try if it works :

<body onselectstart="return false">

It's short and I think it works....People might be able to get passed it,only if they are genius'

Reply

brandice
I kind of silly, but somewhat effective way to keep (gullible) people from viewing your code is to put a comment right at the top of your code, saying something like

CODE
<!-- warning, this work is protected by copyright laws. Your IP address has been logged -->


and then you hit enter a bunch of times so it looks like that's all there is in the window. It'll freak people out enough to where they won't notice that they can just scroll down to see your code. smile.gif

Reply

Taupe
The best way to get ride of those silly scripts is to use a modern browser (like Mozilla) : you'll keep all your clicks.

Reply

odomike
I dont really fancy the deactivation of right clicking. It only works with newbie internet users.

Take for instance, a friend of mine was trying to print something from a website and the site's code (probably) was preventing him from doing that. When he complained to me, these were the things i did

|| i first tried to write click and found out that right clicking was deactivated in there.
|| i then presses the office key on the keyboard to use the right click ketboard shortcut and then clicked on source
|| When the soucre code was displayed in notepad, i copied everything in there
|| I lauched MS FrontPage and went to the HTML editor page and paste everything i copied from notepad in there.
|| I then went pback to the normal view page and ........the page was displayed there.
|| Zooooom.....i printed it from there

So, you can see that for the more experienced internet users, right click deactivation doesnt mean anything....

Take that from me wink.gif

 

 

 


Reply

DMA
i just use firefox, and i downloaded the allow right click extension... so i can always beat those lame scripts... and i didnt need that extension anyways... since i always have javascript disabled on my firefox.

Reply

odomike
QUOTE(DMA @ Oct 27 2004, 12:18 AM)
i just use firefox, and i downloaded the allow right click extension... so i can always beat those lame scripts... and i didnt need that extension anyways... since i always have javascript disabled on my firefox.

That means that the whole effort to deactivate right click is just a very futile effort. Isnt it?

Reply

krap
i dont like disabling rick-click but after this person stole all my content it was only way. so if anybody wants this script below disables right click and highlighting. Btw thanks for that frame trick i will use it on the page that the person is stealing from.
CODE

<script language="JavaScript1.2">
function disableselect(e){p
return false
}

function reEnable(){
return true
}

//if IE4+wi
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>

<script language=JavaScript>
<!--
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
// -->
</script>

but remember everyone dont use it unless u NEED to.smile.gif

Reply

Taupe
QUOTE(krap @ Oct 27 2004, 06:39 PM)
but remember everyone dont use it unless u NEED to.smile.gif
No :
"dont use it because it is useless"

As we explained you, this script won't work with modern browsers...

Reply

iwuvcookies
I think like if those who use the old version of Netscape Navigator can view the source despite any code put in place. I've used it a few times when I'm trying to save some image. lol. Sometimes it annoys me enough that I have to do that print screen option.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2, 3, 4, 5
Recent Queries:-
  1. deactive back button - 10.60 hr back. (1)
  2. html deactivation - 19.52 hr back. (1)
  3. ondragstart on firefox - 39.00 hr back. (1)
  4. firefox oncontextmenu is not disabling right click on iframe - 39.92 hr back. (1)
  5. "internet explorer" oncontextmenu - 51.30 hr back. (1)
  6. deactivate brwser back button - 51.27 hr back. (2)
  7. disactivate ads explorer - 60.97 hr back. (1)
  8. javascript norightclick not working in firefox - 61.87 hr back. (1)
  9. html deactivate - 63.14 hr back. (1)
  10. how to emulate a right click internet explorer - 64.06 hr back. (1)
  11. window deactive when i am not using in javascript - 70.42 hr back. (1)
  12. javascript ie back deactivate - 73.54 hr back. (1)
  13. javascript deactivate right click - 81.13 hr back. (1)
  14. disable right click in pocket ie - 81.40 hr back. (1)
Similar Topics

Keywords : deactivate, click, internet, explorer

  1. How To Make Form Nested In Internet Explorer ?
    Nested form in IE (2)
  2. Project Digital Signage
    advertising media through internet (1)
    Introduction to Digital Signage Project and Discussion Digital Signage is becoming the next
    advertising phenomenon from yesteryears of newspaper and TV advertisements. Digital Signage can
    captivate an audience in closed quarters with effective, colorful advertising media (with or without
    sound) in places where people "have to" watch. These ideal places are in hotel lobbies, elevators,
    waiting rooms, service lines--supermarket checkout line, or anywhere people would stand still for
    few moments. The principle is to do nothing but advertising. Las Vegas airport termin....
  3. Menu Errors In Internet Explorer
    (4)
    I am not sure if this is the correct section, but this is related to HTML. I have some menus at the
    top of my forum, which work perfectly in Firefox. But my members started complaining that they were
    not working correctly, and when I tested it in Internet Explorer, I found that only two of the menus
    show up, and the others show up as plain text below. Here is a screenshot of what the menus look
    like in the two browsers: I have thought of something though. The HTML i used for my menus was
    the only code I could find for to make some menus. But I noticed that this forum....
  4. Problems With Webpage Positioning In Internet Explorer
    (11)
    Originally this topic was asking for testing of my page in Internet explorer but someone on another
    forum got there first, but I still need help! I've made a page using absolute positioning
    and php, using percentages for positions so that it should suit all screen resolutions. However on
    internet explorer some of the text on the right can't be seen and is off the page, whereas in
    every other browser it's perfect. What can I do to make it show up properly in internet Explorer
    as well as all the other ones? Here's the link so you can see what I mean by....
  5. Simulate Click In Ie
    (4)
    Does anyone know how can i "emulate" a click on a link in Internet Explorer. I want it to be closest
    to a user-like click posible. I know that IE knows if one real user clicks the link or it's just
    a script that does that. Is it posible to "fool" IE with a script (HTML, Java, PHP, Actionscript,
    etc) ? Or maybe, can you tell me how does IE knows that it's not a real user behind the click? ....
  6. Making Html For Internet Explorer Compatible With
    (3)
    I need some serious help. My website looks fine in Internet Explorer because I previewed it in IE
    when I made it. The only problem is that in FireFox it looks all messed up. I need help or a
    tutorial to make my site look the same in both browsers. If anyone can help me send me a PM or just
    post here. Click Here to view my site and see the difference. ....
  7. Select All Text In A Form Field On Click
    (1)
    Hi, I have made a script which generates a BBcode when you run it, and displays it in a text field,
    like this: CODE <input type="text" name="bbcode" size="81"
    value="[IMG]<?php echo $url; ?>[/IMG]"> Well, anyway, I
    want something that selects all the text in that form field when you click on it, like it does in
    ImageShack when you upload.......
  8. Pocket Internet Explorer
    (1)
    Hello, I have a webpage that allows a user to upload a picture to the site. I know all my users are
    running at least internet explorer 6.1 and it works like a charm on desktop units. We are trying to
    roll out the samsung i-700 to our field agents for taking pictures and uploading them to the site
    while in the field. The device accesses the site with no problems, but where the input field for the
    picture is, it is gone. I looked on the microsoft website and it says that Pocket Internet Explorer
    doesn't support Data Binding. Is that what this is? Does anyone know of....
  9. Can you disable the left click?
    (20)
    Just for a bit of fun, I know its possible to disable the right click, but is it posible to disable
    the left click??? Laterz Matty....

    1. Looking for deactivate, click, internet, explorer

Searching Video's for deactivate, click, internet, explorer
advertisement



Deactivate right click - in internet explorer



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE