Click to See Complete Forum and Search --> : Disabling Links and clicks


Kaisa
05-03-2003, 04:45 PM
How do i disable all links and clicking option for my website ?

Kaisa
05-03-2003, 04:55 PM
Well disabling left and right clicks so no one can steal my pictures and disabling links so people can not go to my other page but mostly for banned people !

Charles
05-03-2003, 04:57 PM
<script type="text/javascript">
<!--
function disableLinks () {
for (j=0; j<document.links.length; j++) {document.links[j].onclick = function () {return false}}
}
// -->
</script>

Kaisa
05-03-2003, 05:00 PM
Originally posted by Charles
<script type="text/javascript">
<!--
function disableLinks () {
for (j=0; j<document.links.length; j++) {document.links[j].onclick = function () {return false}}
}
// -->
</script>

Whats the length , J++ and j=0 mean ?

brendandonhue
05-03-2003, 05:02 PM
You can't stop people from stealing stuff off your page.
Dont bother trying.
You block clicking, I'll just turn of javascript.
You encrypt the source, the decrypted source is still in IEs memory.
You protect images, I'll take a screen shot.

Kaisa
05-03-2003, 05:05 PM
Originally posted by brendandonhue
You can't stop people from stealing stuff off your page.
Dont bother trying.
You block clicking, I'll just turn of javascript.
You encrypt the source, the decrypted source is still in IEs memory.
You protect images, I'll take a screen shot.

Your right but for people to look at the uncrypted code thats in IE's memory they would have to hack my site which is not allowed !

brendandonhue
05-03-2003, 05:17 PM
Its not in your sites memory, its in their computers memory.
It takes I think 6 lines of javascript to view the unencrypted source. Someone posted it on this forum but I dont know exactly which thread.

Kaisa
05-03-2003, 05:22 PM
i meant my computer but i was too lazy to edit it and not everyone will be willing to go look for a code to unscript the enscripted code