Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How to hide javascript code from the client

Avatar

Level 2

Hi everyone,

Is there any one who know how to hide javascript code from the client??

5 Replies

Avatar

Level 7

Try password protection of the form.

Reader can not edit the form.

Avatar

Level 2

It didn't work,

yes with reader he cannot edit or see the code, but what about he opens it with designer???

Avatar

Level 10

You cannot hide the code within Designer.

The password protection is the only way to prevent users from opening the form in Designer.

To make the code more difficult to read for others you also can use a javascript scrambler.

Avatar

Level 2

Hi radzmar,

Can you give more details on the code scrambler please?

Avatar

Level 10

Please use a search engine ...