How to hide the source code of a HTML page

前端 未结 4 536
青春惊慌失措
青春惊慌失措 2021-02-04 20:58

I created an HTML page and now would like to hide the source code and encrypt it.

How can I do that?

4条回答
  •  忘了有多久
    2021-02-04 21:41

    There isn't really a way to do that. Perhaps the only thing you could do is to disable the right click feature via JavaScript, but still that wouldn't stop a user who's experienced enough to copy it. However, check this out.

提交回复
热议问题