Thread: no right click
Results 1 to 8 of 8
Related
-
Click- and rollover example Forum: Javascript Forum
Replies: 4 -
no right click Forum: HTML Forum
Replies: 2 -
How do I disable right-click? Forum: Website Scripts Forum
Replies: 9 -
No right click Forum: HTML Forum
Replies: 3 -
No right click!!!!!!!!! Forum: Javascript Forum
Replies: 7
-
01-03-2001, 09:27 PM #1
no right click
can someone tell me how to stop right clicks on my web page??
Thanks
-
01-03-2001, 11:55 PM #2
You cannot completely stop people from viewing your code. This will stop the right click function though.
Insert this between your <head> and </head> tags
<script language="javascript">
function noRightClick() {
if (event.button==2) {
alert('Insert your text here.')
}
}
document.onmousedown=noRightClick
</script>
-
01-04-2001, 09:17 AM #3
actually Iv have been to sites where i couldn't get to the view src function under the right click menu or view menu.....but i don't know how to do it
-
01-04-2001, 01:04 PM #4
Then all you do is go File --> Save As, and save it to your HD to view later.
------------------
Allyn -
-
01-04-2001, 03:42 PM #5
good point, but it isn't fun digging around in there.
------------------
Allyn -
-
01-04-2001, 05:34 PM #6
What IS fun in Windows?
Bill Gates can eat my shorts.
------------------
QuietDean-
-
01-04-2001, 08:39 PM #7Originally posted by rskull69:
can someone tell me how to stop right clicks on my web page??
Thanks
-
01-05-2001, 02:10 AM #8
Point to remember: If you are trying to stop someone saving your images, then even the thickest of people will eventually realise that if they can see it, its already on their HD.
Temporary Internet Files.....
------------------
QuietDean-