D
D
Demon2015-10-26 19:35:24
JavaScript
Demon, 2015-10-26 19:35:24

How to make unreadable code?

How can you implement unreadable source code like on facebook ?
51183554e60d4c78956a11df1b32ae14.PNG
Using html compression services does not lead to this result. The browser also displays the source code point by point.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
B
bromzh, 2015-10-26
@bromzh

For Java, there is a web framework (I forgot what it's called), which compiles all UI components into JS. So the whole html page is just js code.
Seems to be the same bug here. In general, Facebook develops and promotes React, where components are described in "extended" js. Apparently this is what it looks like when it comes out.
Although you can still see the page structure
f81bc1eac4c9488689a6b8c3d3a2632c.png

D
Dima Pautov, 2015-10-26
@bootd

https://www.google.ru/webhp?sourceid=chrome-instan...

M
MetaDone, 2015-10-26
@MetaDone

https://www.javascriptobfuscator.com/Javascript-Ob...
if desired, they will also receive back in a readable form

I
Ivanq, 2015-10-26
@Ivanq

If you need to compress JS like this (and you can only compress JS), google (or Yandex) Javascript Compress

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question