TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Protecting your JavaScript with advanced obfuscation techniques

7 点作者 richtaur超过 14 年前

2 条评论

bni超过 14 年前
I feel that "view source" is one the best features of the web and JavaScript, so I never obfuscate/compile/minify my code. If someone is interested and takes the time to read my code, why deny them.<p>What are you doing in JS that is so special that no one should be able to figure out? Obfuscation wont protect you from someone ripping off your game or whatever and put it on their own site. Someone can do that just as easily with obfuscated files.
howardr超过 14 年前
Good tips for decreasing marginal js file size with google closure compiler, but this doesn't really protect your code at all. It might make it a little bit harder for someone to immediately figure out what your code doing, but by know means will it stop anyone who isn't new to js. I have gotten used to going through competitors highly minified code to make sure they rant stealing any of my js