{"id":478,"date":"2025-12-05T10:32:43","date_gmt":"2025-12-05T02:32:43","guid":{"rendered":"https:\/\/www.52runoob.com\/?p=478"},"modified":"2025-12-05T10:32:43","modified_gmt":"2025-12-05T02:32:43","slug":"javascript-obfuscator-%e8%ae%a9%e4%bd%a0%e7%9a%84%e4%bb%a3%e7%a0%81%e7%9c%8b%e8%b5%b7%e6%9d%a5%e8%ae%a9%e4%ba%ba%e7%97%9b%e8%8b%a6%e6%9c%80%e6%96%b0%e6%95%b4%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.52runoob.com\/index.php\/2025\/12\/05\/javascript-obfuscator-%e8%ae%a9%e4%bd%a0%e7%9a%84%e4%bb%a3%e7%a0%81%e7%9c%8b%e8%b5%b7%e6%9d%a5%e8%ae%a9%e4%ba%ba%e7%97%9b%e8%8b%a6%e6%9c%80%e6%96%b0%e6%95%b4%e7%90%86\/","title":{"rendered":"JavaScript\u00a0obfuscator\u00a0\u8ba9\u4f60\u7684\u4ee3\u7801\u770b\u8d77\u6765\u8ba9\u4eba\u75db\u82e6(\u6700\u65b0\u6574\u7406)"},"content":{"rendered":"\n<p>\u4e0b\u9762\u7ed9\u4f60\u4e00\u4efd <strong>\u6700\u65b0\u6574\u7406\u3001\u5168\u9762\u5b9e\u6218\u3001\u53ef\u76f4\u63a5\u4f7f\u7528\u7684\u300aJavaScript Obfuscator \u8ba9\u4f60\u7684\u4ee3\u7801\u770b\u8d77\u6765\u8ba9\u4eba\u75db\u82e6\u300b\u6307\u5357<\/strong>\u3002\u5305\u542b\u6982\u5ff5\u3001\u914d\u7f6e\u3001\u6700\u4f73\u5b9e\u8df5\u3001\u5e38\u89c1\u9677\u9631\u3001\u7ed5\u8fc7\u65b9\u5f0f\u3001\u9632\u9006\u5411\u5f3a\u5316\u65b9\u6848\uff0c\u662f\u4f60\u80fd\u5728\u4e2d\u6587\u533a\u770b\u5230\u6700\u5b8c\u6574\u7684\u4e00\u7248\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\ude80 \u4e00\u3001\u4ec0\u4e48\u662f JavaScript Obfuscator\uff1f<\/h1>\n\n\n\n<p>JavaScript Obfuscator\uff08JS \u4ee3\u7801\u6df7\u6dc6\u5668\uff09\u662f\u4e00\u7c7b\u5de5\u5177\uff0c\u7528\u6765\u628a\u4f60\u7684\u6b63\u5e38 JS \u4ee3\u7801\u8f6c\u6362\u6210\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u96be\u8bfb<\/strong><\/li>\n\n\n\n<li><strong>\u96be\u5206\u6790<\/strong><\/li>\n\n\n\n<li><strong>\u96be\u8c03\u8bd5<\/strong><\/li>\n\n\n\n<li><strong>\u96be\u8fd8\u539f<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u7684\u201c\u75db\u82e6\u4ee3\u7801\u201d\u3002<\/p>\n\n\n\n<p>\u5178\u578b\u529f\u80fd\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u53d8\u91cf\u66ff\u6362<\/li>\n\n\n\n<li>\u63a7\u5236\u6d41\u6241\u5e73\u5316<\/li>\n\n\n\n<li>\u5b57\u7b26\u4e32\u52a0\u5bc6<\/li>\n\n\n\n<li>\u62bd\u8c61\u8bed\u6cd5\u6811\u91cd\u7ec4<\/li>\n\n\n\n<li>\u6b7b\u4ee3\u7801\u63d2\u5165<\/li>\n\n\n\n<li>\u8c03\u8bd5\u4fdd\u62a4<\/li>\n\n\n\n<li>\u53cd\u8c03\u8bd5\u5faa\u73af<\/li>\n<\/ul>\n\n\n\n<p>\u5e02\u9762\u4e0a\u6700\u5e38\u7528\u7684\u6df7\u6dc6\u5668\u662f\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\njavascript-obfuscator\n\n<\/pre><\/div>\n\n\n<p>NPM \u5730\u5740\uff1a<code>npm i javascript-obfuscator<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\ude80 \u4e8c\u3001\u6700\u57fa\u7840\u7684\u6df7\u6dc6\u793a\u4f8b\uff08\u5bf9\u6bd4\u6e05\u6670\uff09<\/h1>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39 \u539f\u59cb\u4ee3\u7801\uff1a<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nfunction sum(a, b) {\n    return a + b;\n}\n\nconsole.log(sum(1, 2));\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39 \u6df7\u6dc6\u540e\u7684\u4ee3\u7801\uff1a<\/h3>\n\n\n\n<p>\uff08\u7b80\u5316\u7248\uff09<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nvar _0x4b3d=&#x5B;&#039;\\x6c\\x6f\\x67&#039;];(function(_0x2a58e5,_0x4b3df1){\n    var _0x50cf9a=function(_0x52ad43){while(--_0x52ad43){_0x2a58e5&#x5B;&#039;push&#039;](_0x2a58e5&#x5B;&#039;shift&#039;]());}};\n    _0x50cf9a(++_0x4b3df1);}(_0x4b3d,0xd8));\nvar _0x50cf=function(_0x2a58e5,_0x4b3df1){_0x2a58e5=_0x2a58e5-0x0;var _0x50cf9a=_0x4b3d&#x5B;_0x2a58e5];return _0x50cf9a;};\nfunction _0x3e9af8(_0x2a58e5,_0x4b3df1){return _0x2a58e5+_0x4b3df1;}\nconsole&#x5B;_0x50cf(&#039;0x0&#039;)](_0x3e9af8(0x1,0x2));\n\n<\/pre><\/div>\n\n\n<p>\u5373\u4f7f\u77e5\u9053 JS\uff0c\u4e5f\u8981\u4e00\u5206\u949f\u624d\u80fd\u770b\u61c2\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\ude80 \u4e09\u3001\u6700\u63a8\u8350\u7684\u6df7\u6dc6\u5668\uff1ajavascript-obfuscator<\/h1>\n\n\n\n<p>\u5b89\u88c5\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnpm install javascript-obfuscator -g\n\n<\/pre><\/div>\n\n\n<p>\u547d\u4ee4\u884c\u6df7\u6dc6\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\njavascript-obfuscator input.js --output output.js\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\ude80 \u56db\u3001\u6df7\u6dc6\u5668\u6700\u91cd\u8981\u7684\u914d\u7f6e\uff08\u5168\u90e8\u6700\u65b0\u3001\u9010\u9879\u89e3\u91ca\uff09<\/h1>\n\n\n\n<p>\u4e0b\u9762\u6574\u7406\u7684\u662f 2025 \u5e74\u6700\u65b0\u6700\u4f73\u914d\u7f6e\u63a8\u8350\uff08\u9ad8\u5b89\u5168\u7248\u672c\uff09\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">1\ufe0f\u20e3 \u57fa\u7840\u6df7\u6dc6\uff08\u63a8\u8350\u5f00\u542f\uff09<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  compact: true,\n  controlFlowFlattening: true,\n  deadCodeInjection: true,\n  stringArray: true,\n  stringArrayEncoding: &#x5B;&#039;rc4&#039;],\n}\n\n<\/pre><\/div>\n\n\n<p>\u89e3\u91ca\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u914d\u7f6e\u9879<\/th><th>\u4f5c\u7528<\/th><\/tr><\/thead><tbody><tr><td><code>compact<\/code><\/td><td>\u53bb\u6389\u7a7a\u683c\u6ce8\u91ca<\/td><\/tr><tr><td><code>controlFlowFlattening<\/code><\/td><td>\u63a7\u5236\u6d41\u6241\u5e73\u5316\uff08\u6700\u6297\u9006\u5411\uff09<\/td><\/tr><tr><td><code>deadCodeInjection<\/code><\/td><td>\u6ce8\u5165\u65e0\u610f\u4e49\u4ee3\u7801<\/td><\/tr><tr><td><code>stringArray<\/code><\/td><td>\u5b57\u7b26\u4e32\u8f6c\u6570\u7ec4\u5f15\u7528<\/td><\/tr><tr><td><code>stringArrayEncoding<\/code><\/td><td>\u5b57\u7b26\u4e32\u52a0\u5bc6 <code>rc4<\/code> \u6700\u5f3a<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">2\ufe0f\u20e3 \u6700\u5f3a\u53cd\u9006\u5411\u914d\u7f6e\u7ec4\u5408\uff08\u5fc5\u770b\uff09<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n    debugProtection: true,\n    debugProtectionInterval: true,\n    disableConsoleOutput: true,\n    selfDefending: true,\n    splitStrings: true,\n    splitStringsChunkLength: 5\n}\n\n<\/pre><\/div>\n\n\n<p>\u89e3\u91ca\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u914d\u7f6e\u9879<\/th><th>\u529f\u80fd<\/th><\/tr><\/thead><tbody><tr><td><code>debugProtection<\/code><\/td><td>\u7981\u6b62 F12 \u8c03\u8bd5<\/td><\/tr><tr><td><code>debugProtectionInterval<\/code><\/td><td>\u5b9a\u65f6\u626b\u63cf\u8986\u76d6 SourceMap<\/td><\/tr><tr><td><code>disableConsoleOutput<\/code><\/td><td>\u7981\u6b62 console.log \u8f93\u51fa<\/td><\/tr><tr><td><code>selfDefending<\/code><\/td><td>\u9632\u7be1\u6539\uff08\u624b\u6539\u6df7\u6dc6\u4ee3\u7801\u4f1a\u5931\u6548\uff09<\/td><\/tr><tr><td><code>splitStrings<\/code><\/td><td>\u5b57\u7b26\u4e32\u6253\u788e\u91cd\u7ec4<\/td><\/tr><tr><td><code>splitStringsChunkLength<\/code><\/td><td>\u6bcf\u5757\u5b57\u7b26\u4e32\u957f\u5ea6<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">3\ufe0f\u20e3 \u5b8c\u6574\u6700\u4f73\u914d\u7f6e\uff08\u590d\u5236\u5373\u53ef\u7528\uff09<\/h2>\n\n\n\n<p>\u8fd9\u662f\u6211\u6574\u7406\u7684 <strong>2025 \u6700\u5f3a\u6df7\u6dc6\u6a21\u677f<\/strong>\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  compact: true,\n  controlFlowFlattening: true,\n  controlFlowFlatteningThreshold: 1,\n  deadCodeInjection: true,\n  deadCodeInjectionThreshold: 1,\n  stringArray: true,\n  stringArrayEncoding: &#x5B;&#039;rc4&#039;],\n  stringArrayThreshold: 1,\n  splitStrings: true,\n  splitStringsChunkLength: 5,\n  transformObjectKeys: true,\n  simplify: true,\n  numbersToExpressions: true,\n  renameGlobals: false,\n  identifierNamesGenerator: &#039;hexadecimal&#039;,\n  debugProtection: true,\n  debugProtectionInterval: true,\n  disableConsoleOutput: true,\n  selfDefending: true\n}\n\n<\/pre><\/div>\n\n\n<p>\u4f60\u590d\u5236\u5230 obfuscator.config.json \u5c31\u80fd\u76f4\u63a5\u7528\u4e86\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\ude80 \u4e94\u3001\u751f\u4ea7\u73af\u5883\u771f\u5b9e\u6848\u4f8b\uff08\u8d85\u5b9e\u7528\uff09<\/h1>\n\n\n\n<p>\u5047\u8bbe\u4f60\u9879\u76ee\u7ed3\u6784\u5982\u4e0b\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsrc\/\n   index.js\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">Step1\uff1a\u521b\u5efa\u6df7\u6dc6\u914d\u7f6e<\/h3>\n\n\n\n<p><code>obfuscator.config.json<\/code>\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;compact&quot;: true,\n  &quot;controlFlowFlattening&quot;: true,\n  &quot;stringArray&quot;: true,\n  &quot;stringArrayEncoding&quot;: &#x5B;&quot;rc4&quot;],\n  &quot;selfDefending&quot;: true\n}\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">Step2\uff1aCLI \u6df7\u6dc6<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\njavascript-obfuscator src --output dist\n\n<\/pre><\/div>\n\n\n<p>\u5b83\u4f1a\u4fdd\u6301\u76ee\u5f55\u7ed3\u6784\u5e76\u751f\u6210\u6df7\u6dc6\u540e\u7684\u6587\u4ef6\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\ude80 \u516d\u3001Webpack\u3001Vite \u96c6\u6210\uff08\u524d\u7aef\u5e38\u7528\uff09<\/h1>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">1\ufe0f\u20e3 Webpack<\/h2>\n\n\n\n<p>\u5b89\u88c5\u63d2\u4ef6\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnpm i webpack-obfuscator --save-dev\n\n<\/pre><\/div>\n\n\n<p>webpack.config.js:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nconst WebpackObfuscator = require(&#039;webpack-obfuscator&#039;);\n\nmodule.exports = {\n  plugins: &#x5B;\n    new WebpackObfuscator({\n      compact: true,\n      controlFlowFlattening: true\n    }, &#x5B;&#039;excluded_file.js&#039;])\n  ]\n};\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">2\ufe0f\u20e3 Vite\uff08\u6700\u65b0\u5199\u6cd5\uff09<\/h2>\n\n\n\n<p>\u5b89\u88c5\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnpm i vite-plugin-obfuscator -D\n\n<\/pre><\/div>\n\n\n<p>vite.config.js\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport obfuscator from &#039;vite-plugin-obfuscator&#039;;\n\nexport default {\n  plugins: &#x5B;\n    obfuscator({\n      compact: true,\n      controlFlowFlattening: true,\n      stringArrayEncoding: &#x5B;&#039;rc4&#039;],\n    })\n  ]\n}\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\ude80 \u4e03\u3001\u6df7\u6dc6\u5b89\u5168\u7b49\u7ea7\u6bd4\u8f83<\/h1>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u7b49\u7ea7<\/th><th>\u914d\u7f6e\u7279\u5f81<\/th><th>\u9006\u5411\u96be\u5ea6<\/th><\/tr><\/thead><tbody><tr><td>\u4f4e<\/td><td>\u53bb\u7a7a\u683c\u3001\u53d8\u91cf\u6539\u540d<\/td><td>\u2b50<\/td><\/tr><tr><td>\u4e2d<\/td><td>\u5b57\u7b26\u4e32\u52a0\u5bc6\u3001\u6b7b\u4ee3\u7801\u6ce8\u5165<\/td><td>\u2b50\u2b50<\/td><\/tr><tr><td>\u9ad8<\/td><td>\u63a7\u5236\u6d41\u6241\u5e73\u5316<\/td><td>\u2b50\u2b50\u2b50<\/td><\/tr><tr><td>\u6781\u9ad8<\/td><td>RC4 \u5b57\u7b26\u4e32\u52a0\u5bc6 + \u81ea\u9632\u5fa1 + \u8c03\u8bd5\u4fdd\u62a4<\/td><td>\u2b50\u2b50\u2b50\u2b50\u2b50<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\ude80 \u516b\u3001\u6df7\u6dc6\u540e\u7684\u4ee3\u7801\u8fd8\u80fd\u88ab\u8fd8\u539f\u5417\uff1f<\/h1>\n\n\n\n<p>\u7b54\u6848\uff1a<strong>\u80fd\uff0c\u4f46\u975e\u5e38\u56f0\u96be<\/strong>\u3002<\/p>\n\n\n\n<p>\u5e38\u89c1\u5bf9\u6297\u65b9\u5f0f\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>de4js<\/code>\uff08\u5f31\u6df7\u6dc6\uff09<\/li>\n\n\n\n<li><code>jsnice<\/code>\uff08\u53d8\u91cf\u6062\u590d\uff09<\/li>\n\n\n\n<li>\u624b\u52a8 AST \u5206\u6790<\/li>\n\n\n\n<li>\u53bb\u6389\u53cd\u8c03\u8bd5\u7684 while(true) loop<\/li>\n<\/ul>\n\n\n\n<p><strong>\u4f46\u5f3a\u6df7\u6dc6\uff08RC4 + \u63a7\u5236\u6d41\u6241\u5e73\u5316 + \u81ea\u9632\u5fa1\uff09\u88ab\u8fd8\u539f\u6210\u672c\u6781\u9ad8\u3002<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\ude80 \u4e5d\u3001\u907f\u514d\u8e29\u5751\uff08\u6df7\u6dc6\u5e38\u89c1\u95ee\u9898\u6574\u7406\uff09<\/h1>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u274c 1. selfDefending \u4f1a\u5bfc\u81f4 Beautify \u62a5\u9519<\/h2>\n\n\n\n<p>\u56e0\u6b64\u4e0d\u8981\u624b\u52a8\u683c\u5f0f\u5316\u6df7\u6dc6\u540e\u7684\u4ee3\u7801\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u274c 2. debugProtection \u4f1a\u5f71\u54cd\u672c\u5730\u8c03\u8bd5<\/h2>\n\n\n\n<p>\u5efa\u8bae\u53ea\u5728\u751f\u4ea7\u73af\u5883\u5f00\u542f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u274c 3. \u63a7\u5236\u6d41\u6241\u5e73\u5316\u53ef\u80fd\u5f71\u54cd\u6027\u80fd<\/h2>\n\n\n\n<p>\u5efa\u8bae\u4e0d\u8981\u5bf9\u5927\u578b\u5faa\u73af\u7684\u6587\u4ef6\u5f00\u542f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u274c 4. \u4e0d\u80fd\u6df7\u6dc6 JSON \u6587\u4ef6\u3001Worker \u811a\u672c\uff08\u7279\u6b8a\u73af\u5883\u9700\u5355\u72ec\u5904\u7406\uff09<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\ude80 \u5341\u3001\u7ec8\u6781\u5f3a\u5316\u65b9\u6848\uff08\u4e1a\u754c\u6700\u63a8\u8350\uff09<\/h1>\n\n\n\n<p>\u6df7\u6dc6\u4e0d\u662f\u4e07\u80fd\uff0c\u8fd8\u53ef\u4ee5\u53e0\u52a0\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u2714 UglifyJS \u2192 \u53bb\u7a7a\u683c\u538b\u7f29<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">\u2714 ESBuild \u2192 \u538b\u7f29\u8fdb\u4e00\u6b65\u52a0\u901f<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">\u2714 JSObfuscator \u2192 \u5f3a\u6df7\u6dc6<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">\u2714 \u8fd0\u884c\u65f6\u52a8\u6001\u89e3\u5bc6 \u2192 \u4e8c\u6b21\u52a0\u5bc6<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">\u2714 WebAssembly \u2192 \u6838\u5fc3\u903b\u8f91\u653e wasm \u9632\u9006\u5411<\/h3>\n\n\n\n<p>\u5b9e\u9645\u9879\u76ee\u5f88\u591a\u516c\u53f8\u90fd\u662f\uff1a<\/p>\n\n\n\n<p><strong>\u524d\u7aef\u6574\u4f53\u538b\u7f29 + \u90e8\u5206\u5173\u952e\u903b\u8f91\u6df7\u6dc6 + \u5173\u952e\u7b97\u6cd5 WebAssembly\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u9762\u7ed9\u4f60\u4e00\u4efd \u6700\u65b0\u6574\u7406\u3001\u5168\u9762\u5b9e\u6218\u3001\u53ef\u76f4\u63a5\u4f7f\u7528\u7684\u300aJavaScript Obfus&#8230; <a class=\"more-link\" href=\"https:\/\/www.52runoob.com\/index.php\/2025\/12\/05\/javascript-obfuscator-%e8%ae%a9%e4%bd%a0%e7%9a%84%e4%bb%a3%e7%a0%81%e7%9c%8b%e8%b5%b7%e6%9d%a5%e8%ae%a9%e4%ba%ba%e7%97%9b%e8%8b%a6%e6%9c%80%e6%96%b0%e6%95%b4%e7%90%86\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-478","post","type-post","status-publish","format-standard","hentry","category-javascript"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/comments?post=478"}],"version-history":[{"count":1,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/478\/revisions"}],"predecessor-version":[{"id":479,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/478\/revisions\/479"}],"wp:attachment":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/media?parent=478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/categories?post=478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/tags?post=478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}