登录 | 注册 | FAQ
Anonymous

How to hide my code?

+ 发表回复

3 篇帖子 分页: 1 / 1


How to hide my code?

Globus » 周三 10月 06, 2010 11:56 am

Is there some way to hide my HTML code (i.e. disable "View Source")?
头像

Globus

  • 帖子: 1
  • 注册: 周三 10月 06, 2010 11:49 am

Re: How to hide my code?

Richmax » 周一 10月 11, 2010 1:08 am

Globus 写道:Is there some way to hide my HTML code (i.e. disable "View Source")?


i don't exactly what to do on that case.

but if you want you can visit this site : http://www.htmlguardian.org/help_main.html

I know it will helps you on your problem.
头像

Richmax

  • 帖子: 1
  • 注册: 周一 10月 11, 2010 12:54 am

Re: How to hide my code?

HTML.net » 周一 10月 11, 2010 10:26 am

As fare as I know, there is no bulletproof way to hide you code. One way or the other the code has to be send to the users so the user's browser can interpret it.

You can use a javascript to disable right mouse click (http://www.dynamicdrive.com/dynamicindex9/noright.htm) but the user can just click "view source" in the browser / disable javascript / run the page through an HTML Validator with the "view
source" feature activated etc.

Richmax, interessting link! I havn't had time to look closer at the HTML Guardian. It might be better than javascript - but I doubt it is 100% protection?

- Andreas, HTML.net
头像

HTML.net
Site Admin

  • 帖子: 1194
  • 注册: 周六 9月 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.


+ 发表回复

分页: 1 / 1