Posted by Arjen on 12/21/06 13:26
Jan PA1RQR schreef:
> Hello,
> I have made a homepage with a small javascript routine to suppress the
> visablility of the sourcecode when you press the right mousebutton, this is
> working in I.E.
> But in firefox the code is still visible.
> Q. How can I make the sourcecode not vissible when I press the right mouse
> button.
> Thanks for help. Jan (NL)
>
First of all i wouldn't recommend hiding your source code.
But if you really insist you can make it more difficult. You could use
an ajax request to fill the page. That way the final source code wont
show up with view source. There are easy methodes of viewing the
generated source but imho not many 'simple visitors' know how. Offcourse
not all browsers are compatible (many are dough)
Arjen
[Back to original message]
|