Protect Greasemonkey scripts?

后端 未结 3 1796
半阙折子戏
半阙折子戏 2020-12-20 05:23

I know that anything that is downloaded and is in the user\'s possession is going to be pretty hard to protect, but I\'m just wanting to hear opinions. I\'m thinking of sell

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-20 05:45

    As with any javascript, complete protection is impossible due to the nature of the language, see:

    Javascript library: to obfuscate or not to obfuscate - that is the question and How can I obfuscate (protect) JavaScript?

    However, you can obfuscate your javascript code or minify it, neither of which will completely protect it, but they will make it less human-readable.

提交回复
热议问题