You are here: Re: how to make html code not visible in firefox « HTML « IT news, forums, messages
Re: how to make html code not visible in firefox

Posted by Harlan Messinger on 12/22/06 12:22

Arjen wrote:
> 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)

And of course this means the website won't be available to people who
don't have Javascript turned on.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация