How do I hide javascript code in a webpage?

前端 未结 11 730
时光取名叫无心
时光取名叫无心 2020-11-22 17:17

Is it possible to hide the Javascript code from the html of a webpage, when the source code is viewed through the browsers View Source feature?

I know it is possibl

11条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 18:01

    Is not possbile!

    The only way is to obfuscate javascript or minify your javascript which makes it hard for the end user to reverse engineer. however its not impossible to reverse engineer.

提交回复
热议问题