- JS Obfuscator
- My Obfuscate
Here is the first obfuscator I found when looking through google.
Just a heads up, it is against the rules to release obfuscated code on MPGH as malicious code can hide within, and usually does. Minified JS is not obfuscated JS.
Another tip is to not use plain text wherever possible. Anything that is human-readable gives people trying to reverse your code some hints on what it is doing. After finishing your script, you can rename your functions to single letters or obscure combinations of letters.
Like you mentioned, any code that you hand to someone, they have. All client-sided code they put into tampermonkey is code they own. There is no real surefire way to protect client-side code. What you can do, however, is create a server that works in tandem with the client in such a way that without the code on the server (that is hidden from the users) computing for the client, the client would be basically useless.