ByteJS: Running Important JavaScript as Bytecode So Its Source Stays Hidden
ByteJS is a JavaScript protection tool from JShaman. Developers write JavaScript as usual, generate [bytecode][1] in ByteJS, and load a runtime engine on the page that executes the bytecode instead of the original code. Users see the same page and features, but readable JavaScript no longer appears in the browser.
ByteJS takes a different path from traditional [obfuscation][2], which makes JavaScript harder to read while keeping it as JavaScript. The bytecode needs no user plugin, no backend changes and no extra server, and it can be deployed as a static resource on a website or CDN.
The article lists suitable uses such as online calculators and tools, [H5][3] event pages and mini-games, membership logic, and front-end components or SDKs whose core logic should not be visible.
Sources
-
CNJuejin ZH
ByteJS,让重要的 JavaScript 以字节码运行。


